[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows

Thomas McGuire thomas.mcguire at student.uni-siegen.de
Mon Jan 5 11:47:55 CET 2009


Hi,

On Monday 05 January 2009 11:06:04 Stefan Eilemann wrote:
> On 5. Jan 2009, at 10:54, Thomas McGuire wrote:
> > 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.
>
> Since OSG doesn't need GLEW, defining EQ_IGNORE_GLEW before including
> Equalizer headers should help.

Thanks, that indeed helps! All builds fine now.

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/168ead63/attachment.pgp 


More information about the eq-dev mailing list