<div dir="ltr">Hi Nickolai,<br><div class="gmail_extra"><br><div class="gmail_quote">On 10 August 2017 at 20:39, Nickolai Medvedev <span dir="ltr"><<a href="mailto:raizel.dev@yandex.ru" target="_blank">raizel.dev@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Robert. When i compiling OSG 3.4.1 on Visual Studio 2012, got an error:<br>
<br>
E: \ OpenSceneGraph-3.4.1-rc1 \ src \ osgUtil \ ShaderGen.cpp (199): fatal error C1017: Invalid integer constant expression<br>
<br>
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.<br></blockquote><div><br></div><div>I have merged the OSG_GL*_FEATURES definitions from OSG master into OSG-3.4 so that these #define's in include/osg/GL should now appear as 0 and 1.<br><br></div><div>Could you try out the OpenSceneGraph-3.4 branch and let me know if things now work.  If they do I'll go ahead and make a rc2.<br><br></div><div>Cheers,<br></div><div>Robert.<br></div><div> </div></div></div></div>