[osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

Nickolai Medvedev raizel.dev at yandex.ru
Thu Aug 10 12:39:16 PDT 2017


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







More information about the osg-users mailing list