As for Wx 2.8, a quick search on Google shows that this could be a bug with the ubuntu package (__WXDEBUG__ not defined)
[ 99%] Building CXX object examples/osgviewerWX/CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o cd ~/Projects/osg/build/examples/osgviewerWX && /usr/bin/c++ -DOSG_DEBUG_POSTFIX=d -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive -pthread -g -D_DEBUG -I~/Projects/osg/build/include -I~/Projects/osg/OpenSceneGraph/include -isystem /usr/lib/wx/include/gtk2-unicode-release-2.8 -isystem /usr/include/wx-2.8 -o CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o -c ~/Projects/osg/OpenSceneGraph/examples/osgviewerWX/osgviewerWX.cpp Linking CXX executable ../../bin/osgviewerWXd cd ~/Projects/osg/build/examples/osgviewerWX && /usr/bin/cmake -E cmake_link_script CMakeFiles/example_osgviewerWX.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive -pthread -g -D_DEBUG CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o -o ../../bin/osgviewerWXd -rdynamic ../../lib/libOpenThreadsd.so.2.4.0 ../../lib/libosgd.so.2.9.4 ../../lib/libosgDBd.so.2.9.4 ../../lib/libosgUtild.so.2.9.4 ../../lib/libosgGAd.so.2.9.4 ../../lib/libosgViewerd.so.2.9.4 ../../lib/libosgTextd.so.2.9.4 -pthread -Wl,-Bsymbolic-functions -lwx_baseu-2.8 -lwx_gtk2u_core-2.8 -lwx_gtk2u_gl-2.8 -lwx_baseu_net-2.8 ../../lib/libosgGAd.so.2.9.4 ../../lib/libosgUtild.so.2.9.4 ../../lib/libosgDBd.so.2.9.4 ../../lib/libosgd.so.2.9.4 ../../lib/libOpenThreadsd.so.2.4.0 -lpthread -lm -lXrandr -lGLU -lGL -lSM -lICE -lX11 -lXext -Wl,-rpath,~/Projects/osg/build/lib CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o: In function `wxStringBase': /usr/include/wx-2.8/wx/string.h:352: undefined reference to `wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)' CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o:(.rodata._ZTV8wxOsgApp[vtable for wxOsgApp]+0x90): undefined reference to `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)' CMakeFiles/example_osgviewerWX.dir/osgviewerWX.o:(.rodata._ZTV8wxOsgApp[vtable for wxOsgApp]+0x94): undefined reference to `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)' Here again, I can hack a fix to get this to compile but I am not too sure how to code that in cmake to allow other distros and wx installs to continue working. Regards, Francois Genolini Aberdeen, actually chose to live there ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11653#11653 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org