[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows
Martin Lambers
lambers at fb12.uni-siegen.de
Mon Jan 5 10:32:54 CET 2009
Hi Thomas!
On Sun, Jan 04, 2009 at 11:19:36PM +0100, Thomas McGuire wrote:
> > #include <osgViewer/Viewer>
> > #include <eq/client/channel.h>
>
> If I try to compile that, I get the following error:
>
> C:\Program Files\Equalizer-0.6\build\VS2005\Win32\Debug\Headers\GL/glew.h(84)
> : fatal error C1189: #error : gl.h included before glew.h
It often helps to manually include <GL/glew.h> before any other header
that might include GL headers. On Windows, it might be necessary to
additionally define GLEW_STATIC first.
Regards,
Martin
--
Computer Graphics and Multimedia Systems Group
University of Siegen, Germany
http://www.cg.informatik.uni-siegen.de/
More information about the eq-dev
mailing list