<div dir="ltr">Hello,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 4, 2016 at 2:29 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jan,<br>
<br>
The gles plugin is a tool to aid conversion of fixed function pipeline<br>
scene graphs across to shader based ones compatible with GLES2, it's<br>
not specifically tied to GLES though and should happily compile and<br>
work with a normal OpenGL build.<br></blockquote><div><br></div><div>OK. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The error you report looks like a compiler bug/error rather than a<br>
code error. The only other thing I can think of that for some reason<br>
your OpenGLESGeometryOptimizer.cpp file has got corrupted.<br>
<br>
You don't specify which version of the OSG you are using so can't<br>
check to see if the file is actually OK.<br></blockquote><div><br><br></div></div>It was a fresh checkout from Github master from a few minutes ago. I have modified the main CMakeLists.txt and added /bigobj, as mentioned in the error message, to CMAKE_CXX_FLAGS for MSVC and now the same code seems to build fine,so that doesn't look like a corrupted file. I was building a debug build when I have got that error, not sure whether it has any relevance. <br><br></div><div class="gmail_extra">I have yet to see whether the extra flag will have any runtime consequences.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,<br><br></div><div class="gmail_extra">Jan<br></div><div class="gmail_extra"><br></div></div></div>