Hi,

I have successfully managed to combine Equalizer with OpenSceneGraph, and it 
works like a charm. However, it only compiles on Linux, when I tried compiling 
on Windows I got errors I couldn't resolve.

The problem arises even with a very simply testcase program, which only uses 
two #include statements in a single cpp file:

> #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

Now, if I tried the other way around, like this:

> #include <eq/client/channel.h>
> #include <osgViewer/Viewer>

Now I get the following error:

C:\Program Files\OpenSceneGraph\OpenSceneGraph\include\osg/BufferObject(203) : 
error C2143: Syntaxfehler: Es fehlt ';' vor '->'
(translates to "syntax error: missing ';' in front of '->'")
The source line is: void glGenBuffers (GLsizei n, GLuint *buffers) const;

The problem seem to be the OpenGL includes, especially since they use many 
#defines which seem to mess things up.

I'm using Equalizer 0.6.0 and OpenSceneGraph 2.6.1

Any suggestion on how to fix or work around this problem?

Regards,
Thomas McGuire

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