Hi, Robert. When i compiling OSG 3.4.1 on Visual Studio 2012, got an error:

E: \ OpenSceneGraph-3.4.1-rc1 \ src \ osgUtil \ ShaderGen.cpp (199): fatal 
error C1017: Invalid integer constant expression

This is because of OSG_GLES2_FEATURES, OSG_GLES3_FEATURES and OSG_GL2_FEATURES, 
which are declared as #define bool. Visual Studio does not support #if with 
bool defines.



Cheers,
Nickolai

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71403#71403





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to