Hi Davide,

I'm hoping that we won't need to enable this option.

Could you try out this pull request to see if it addresses the build
problem under VS2015:

    https://github.com/openscenegraph/OpenSceneGraph/pull/105

This set of changes moves implementations from headers into source
files, which I'm hoping will address the VS2015 build problems.

Robert.

On 12 July 2016 at 19:53, Davide Raccagni <[email protected]> wrote:
> Hi All,
> compiling in Debug mode the last commit under MS Visual Studio 2015, I had
> the following error:
>
> 204>...\osg\src\osgPlugins\gles\OpenGLESGeometryOptimizer.cpp : fatal error
> C1128: number of sections exceeded object file format limit: compile with
> /bigobj [...\osg\src\osgPlugins\gles\osgdb_gles.vcxproj]
>
> I have fixed the problem by adding /bigobj to CMAKE_CXX_FLAGS in MSVC
> section of the main CMakeLists.txt file (as suggested).
>
> You can find in attchment the modified version of the file.
>
> Regards,
> Davide
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to