[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows
Stefan Eilemann
eilemann at gmail.com
Mon Jan 5 11:06:04 CET 2009
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.
Cheers,
Stefan.
More information about the eq-dev
mailing list