[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows
Thomas McGuire
thomas.mcguire at student.uni-siegen.de
Mon Jan 5 10:54:20 CET 2009
On Monday 05 January 2009 10:32:54 Martin Lambers wrote:
> 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.
That doesn't help, I tried:
> #define GLEW_STATIC
> #include <GL/glew.h>
> #include <eq/client/channel.h>
> #include <osgViewer/Viewer>
The error I get now is:
C:\Equalizer-0.6\build\VS2005\Win32\Debug\Headers\eq/client/objectManager.h(38) :
error C2061: Syntax error: Identifier 'GLEWContext'
I also tried various re-orderings of the #includes, but that only changes the type of error I get.
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://www.equalizergraphics.com/pipermail/eq-dev/attachments/20090105/03c01351/attachment.pgp
More information about the eq-dev
mailing list