Hi Philippe, the error was recently discussed in osg-submissions mailing list http://forum.openscenegraph.org/viewtopic.php?t=14750&postdays=0&postorder=asc&start=15 see posts by Wojtek and as far as I remember there was a fix, so check code if not - try to apply fixes and also submit them again.
Regards Sergey On Fri, Apr 10, 2015 at 7:53 PM, philippe renon <[email protected]> wrote: > Hi, > > I recently pulled master and I am seeing the error below. > Seems like c++ 11 is now mandatory. Is that voluntary? > > Philippe. > > [ 89%] Building CXX object > src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/Animation.obj > In file included from > d:/Projects/OpenPilotTools/qt-5.4.1/Tools/mingw491_32/i686-w64-mingw32/include/c++/cstdint:35:0, > > from > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:34, > from > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\Animation.cpp:12: > d:/Projects/OpenPilotTools/qt-5.4.1/Tools/mingw491_32/i686-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: > error: #er > ror This file requires compiler and library support for the ISO C++ 2011 > standard. This support is currently experimental, and must be enabled with > the -std=c++11 or -std=gnu++11 compiler options. > #error This file requires compiler and library support for the \ > ^ > In file included from > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\Animation.cpp:12:0: > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:67: > error: 'uint8_t' was not declared in this sc > ope > void encodeArrayAsVarintBuffer(osg::Array const*, > std::vector<uint8_t>&) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:74: > error: template argument 1 is invalid > void encodeArrayAsVarintBuffer(osg::Array const*, > std::vector<uint8_t>&) const; > > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:74: > error: template argument 2 is invalid > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:39: > error: 'uint8_t' was not declared in this sc > ope > void dumpVarintVector(std::vector<uint8_t>&, T const*, bool) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:46: > error: template argument 1 is invalid > void dumpVarintVector(std::vector<uint8_t>&, T const*, bool) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:46: > error: template argument 2 is invalid > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:38: > error: 'uint8_t' was not declared in this sc > ope > void dumpVarintValue(std::vector<uint8_t>&, T const*, bool) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:45: > error: template argument 1 is invalid > void dumpVarintValue(std::vector<uint8_t>&, T const*, bool) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:45: > error: template argument 2 is invalid > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:17: > error: 'uint8_t' was not declared in this sc > ope > std::vector<uint8_t> varintEncoding(unsigned int value) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:24: > error: template argument 1 is invalid > std::vector<uint8_t> varintEncoding(unsigned int value) const; > ^ > D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:24: > error: template argument 2 is invalid > src\osgPlugins\osgjs\CMakeFiles\osgdb_osgjs.dir\build.make:57: recipe for > target 'src/osgPlugins/osgjs/CMakeFiles/osgdb_ > osgjs.dir/Animation.obj' failed > make[3]: *** > [src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/Animation.obj] Error 1 > > > _______________________________________________ > 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

