Hi,
I'm trying to compile the example osgviewerQT but get some errors:

1>c:\qt\4.4.3\include\qtopengl\../../src/opengl/qglcolormap.h(48) : error
C2146: syntax error : missing ';' before identifier 'QtOpenGLModule'
1>c:\qt\4.4.3\include\qtopengl\../../src/opengl/qglcolormap.h(48) : error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
1>c:\qt\4.4.3\include\qtopengl\../../src/opengl/qglcolormap.h(48) : error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
1>c:\qt\4.4.3\include\qtopengl\../../src/opengl/qgl.h(75) : error C2378:
'QtOpenGLModule' : redefinition; symbol cannot be overloaded with a typedef

I'm using windows vista and OSG 2.6.1. I've compiled OSG using Visual Studio
2005. I've installed the QT extension to visual studio and I'm able to
compile and run simple QT application and other OSG examples. Problems
starts when I try to mix those two. I've Enabled QT OpenGL for my project.

Any Idea why this fails ?

This is the QT header file that fails:
...
46: QT_BEGIN_NAMESPACE
47:
48: QT_MODULE(OpenGL)
...
--------------------------
Børge Nygaard Austvold
System Developer, Poseidon Simulation AS
E-mail: b...@poseidon.no
Work: (+47) 404 38 359
Private: (+47) 470 12 347
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to