[osg-users] Compilation error with MSVC 2015

Robert Osfield robert.osfield at gmail.com
Mon Jul 4 05:29:02 PDT 2016


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.

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.

Cheers,
Robert.

On 4 July 2016 at 13:23, Jan Ciger <jan.ciger at gmail.com> wrote:
> Hello,
>
> I am updating my OSG at work and when building with the MSVC 2015, I am
> getting this:
>
> 72>C:\R\Dependencies-x64-2015\OpenSceneGraph\src\osgPlugins\gles\OpenGLESGeometryOptimizer.cpp
> : fatal error C1128: number of sections exceeded object file format limit:
> compile with /bigobj
>
> And the build fails.
>
> What is strange is that why is it even trying to build that file - I have
> all GLES options off. Has anyone seen this error before?
>
> J.
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list