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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to