[osg-users] Compilation error with MSVC 2015

Jan Ciger jan.ciger at gmail.com
Mon Jul 4 06:12:12 PDT 2016


Hello,

On Mon, Jul 4, 2016 at 2:29 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Jan,
>
> The gles plugin is a tool to aid conversion of fixed function pipeline
> scene graphs across to shader based ones compatible with GLES2, it's
> not specifically tied to GLES though and should happily compile and
> work with a normal OpenGL build.
>

OK.


>
> The error you report looks like a compiler bug/error rather than a
> code error.  The only other thing I can think of that for some reason
> your OpenGLESGeometryOptimizer.cpp file has got corrupted.
>
> You don't specify which version of the OSG you are using so can't
> check to see if the file is actually OK.
>


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.

I have yet to see whether the extra flag will have any runtime consequences.

Regards,

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160704/afdf8e20/attachment-0003.htm>


More information about the osg-users mailing list