Hi, This is a fix for the following compilation error when compiling with MinGW. [ 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 experimenta l, 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; ^[...SNIP..]
JSON_Objects
Description: Binary data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
