Hello Anders,
Hi all.
I wanted to start using the latest dev build (3.1.5) with VisualStudio
2012. 64Bit.
However, I immediately got a few problems:
#1.WARNING: The warning: fstream(41): warning C4250: 'osgDB::fstream'
: inherits
'std::basic_ostream<_Elem,_Traits>::std::basic_ostream<_Elem,_Traits>::_Add_vtordisp2'
via dominance
From the class class OSGDB_EXPORT fstream : public std::fstream
Is still very much present and give a lot of warnings all over the place.
The first warning has been discussed more than once.
If you get linker errors somewhere later on, the only workaround I know
of is to set the linker to /FORCE: MULTIPLE
#2.WARNING: GL_PATCHES seems to be a new variable, which conflicts
with the one in glew.h.
warning C4005: 'GL_PATCHES' : macro redefinition
gl\glew.h(4685) : see previous definition of 'GL_PATCHES'
#3 ERROR:
include\osg\uniform(454): error C2065: 'GL_DOUBLE_MAT2x3' : undeclared
identifier
include\osg\uniform(455): error C2065: 'GL_DOUBLE_MAT2x4' : undeclared
identifier
include\osg\uniform(456): error C2065: 'GL_DOUBLE_MAT3x2' : undeclared
identifier
include\osg\uniform(457): error C2065: 'GL_DOUBLE_MAT3x4' : undeclared
identifier
include\osg\uniform(458): error C2065: 'GL_DOUBLE_MAT4x2' : undeclared
identifier
include\osg\uniform(459): error C2065: 'GL_DOUBLE_MAT4x3' : undeclared
identifier
Indicating that glew.h and osg/gl2extensions are very incompatible
from 3.1.5 and forward?
glew.h is also a nasty one, because it want to be included BEFORE gl.h...
More warnings:
include\osgtext\font(244): warning C4100: 'descender' : unreferenced
formal parameter
include\osgtext\font(244): warning C4100: 'ascender' : unreferenced
formal parameter
/Anders
--
__________________________________________
Anders Backman, HPC2N
90187 UmeƄ University, Sweden
[email protected] <mailto:[email protected]> http://www.hpc2n.umu.se
<http://www.hpc2n.umu.se/>
Cell: +46-70-392 64 67
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org