Hello, recent g++ versions are more strict with respect to C++ headers, so the compilation of examples/osgviewerGTK/osgviewerGTK.cpp fails:
[ 97%] Building CXX object examples/osgviewerGTK/CMakeFiles/example_osgviewerGTK.dir/osgviewerGTK.o OSGSVN2/trunk/examples/osgviewerGTK/osgviewerGTK.cpp: In member function ‘bool ExampleOSGGTKDrawingArea::_clicked(GtkWidget*)’: OSGSVN2/trunk/examples/osgviewerGTK/osgviewerGTK.cpp:53: error: ‘strncmp’ is not a member of ‘std’ trunk/examples/osgviewerGTK/osgviewerGTK.cpp:55: error: ‘strncmp’ is not a member of ‘std’ make[2]: *** [examples/osgviewerGTK/CMakeFiles/example_osgviewerGTK.dir/osgviewerGTK.o] Error 1 The solution is either to replace the inclusion of <string> with <cstring> or remove the std:: namespace prefix from the two calls to std::strncmp() at lines 53 and 55. Alberto _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
