[osg-users] Compilation error with MSVC 2015
Robert Osfield
robert.osfield at gmail.com
Mon Jul 4 07:29:42 PDT 2016
Hi Jan,
On 4 July 2016 at 14:12, Jan Ciger <jan.ciger at gmail.com> wrote:
> 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.
Weird. I have just had a look t the source file the compiler is
complaining about and it looks pretty standard.
The gles plugin on Linux is not particularly large either. I can't see
any obvious reasons why there would be any need for some special
options.
What size are the object files and resulting osgdb_gles.dll?
> I have yet to see whether the extra flag will have any runtime consequences.
Can the option just been added to the gles pugin if absolutely required?
Right now, it seems pretty odd that the gles plugin would break some
compiler limits that we've never hit before in any other module or
plugins, so I'm inclined to think there is something specific going
on, perhaps a bug with the compiler that is throwing things off.
Robert.
More information about the osg-users
mailing list