<div dir="ltr"><div><div><div>Hi Philippe,<br><br></div>the error was recently discussed in osg-submissions mailing list<br><a href="http://forum.openscenegraph.org/viewtopic.php?t=14750&postdays=0&postorder=asc&start=15">http://forum.openscenegraph.org/viewtopic.php?t=14750&postdays=0&postorder=asc&start=15</a> see posts by <span class="">Wojtek</span><br> and as far as I remember there was a fix,<br>so check code<br>if not - try to apply fixes and also submit them again.<br><br></div>Regards<br></div>Sergey<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 10, 2015 at 7:53 PM, philippe renon <span dir="ltr"><<a href="mailto:philippe_renon@yahoo.fr" target="_blank">philippe_renon@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>Hi,</div><div><br></div><div dir="ltr">I recently pulled master and I am seeing the error below.</div><div dir="ltr">Seems like c++ 11 is now mandatory. Is that voluntary?<br></div><div dir="ltr"><br></div><div dir="ltr">Philippe.<br></div><div dir="ltr"><br></div><div dir="ltr">[ 89%] Building CXX object src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/Animation.obj
<br>In file included from d:/Projects/OpenPilotTools/qt-5.4.1/Tools/mingw491_32/i686-w64-mingw32/include/c++/cstdint:35:0,
<br> from D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:34,
<br> from D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\Animation.cpp:12:
<br>d:/Projects/OpenPilotTools/qt-5.4.1/Tools/mingw491_32/i686-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: error: #er
<br>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.
<br> #error This file requires compiler and library support for the \
<br> ^
<br>In file included from D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\Animation.cpp:12:0:
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:67: error: 'uint8_t' was not declared in this sc
<br>ope
<br> void encodeArrayAsVarintBuffer(osg::Array const*, std::vector<uint8_t>&) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:74: error: template argument 1 is invalid
<br> void encodeArrayAsVarintBuffer(osg::Array const*, std::vector<uint8_t>&) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:94:74: error: template argument 2 is invalid
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:39: error: 'uint8_t' was not declared in this sc
<br>ope
<br> void dumpVarintVector(std::vector<uint8_t>&, T const*, bool) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:46: error: template argument 1 is invalid
<br> void dumpVarintVector(std::vector<uint8_t>&, T const*, bool) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:96:46: error: template argument 2 is invalid
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:38: error: 'uint8_t' was not declared in this sc
<br>ope
<br> void dumpVarintValue(std::vector<uint8_t>&, T const*, bool) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:45: error: template argument 1 is invalid
<br> void dumpVarintValue(std::vector<uint8_t>&, T const*, bool) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:98:45: error: template argument 2 is invalid
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:17: error: 'uint8_t' was not declared in this sc
<br>ope
<br> std::vector<uint8_t> varintEncoding(unsigned int value) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:24: error: template argument 1 is invalid
<br> std::vector<uint8_t> varintEncoding(unsigned int value) const;
<br> ^
<br>D:\Projects\OpenPilot\3rdparty\osg\src\osgPlugins\osgjs\JSON_Objects:99:24: error: template argument 2 is invalid
<br>src\osgPlugins\osgjs\CMakeFiles\osgdb_osgjs.dir\build.make:57: recipe for target 'src/osgPlugins/osgjs/CMakeFiles/osgdb_
<br>osgjs.dir/Animation.obj' failed
<br>make[3]: *** [src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/Animation.obj] Error 1
</div><div><br></div></div></div><br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>