Re: [osg-users] Compiling osgVRPN
Hi, Hi Guys, I'm curious if anyone has had luck in getting osgvrpn to compile as of lately? In terms of versions I'm using the following: Latest pull from the vrpn git site. OpenSceneGraph-3.6.0 osgVrpn (Hollingsworth branch of osgVRPN) I've compiled and installed both vrpn and openscenegraph on an ubuntu (18.04) system. However I get into trouble when compling osgvrpn. Building the osgvrpn libraries is fine, however when I get to the examples, in particular osgVRPNviewer, I see a lot of: Code: CMakeFiles/osgVRPNviewer.dir/osgVRPNviewer.cpp.o: In function `main': osgVRPNviewer.cpp:(.text+0x104e): undefined reference to `osgViewer::Viewer::Viewer()' osgVRPNviewer.cpp:(.text+0x1072): undefined reference to `osgViewer::Viewer::getUsage(osg::ApplicationUsage&) const' osgVRPNviewer.cpp:(.text+0x1285): undefined reference to `osgGA::StateSetManipulator::StateSetManipulator(osg::StateSet*)' osgVRPNviewer.cpp:(.text+0x129d): undefined reference to `osgViewer::View::addEventHandler(osgGA::EventHandler*)' osgVRPNviewer.cpp:(.text+0x12c7): undefined reference to `osgViewer::HelpHandler::HelpHandler(osg::ApplicationUsage*)' osgVRPNviewer.cpp:(.text+0x12df): undefined reference to `osgViewer::View::addEventHandler(osgGA::EventHandler*)' osgVRPNviewer.cpp:(.text+0x12f4): undefined reference to `osgViewer::ThreadingHandler::ThreadingHandler()' osgVRPNviewer.cpp:(.text+0x130c): undefined reference to `osgViewer::View::addEventHandler(osgGA::EventHandler*)' osgVRPNviewer.cpp:(.text+0x1321): undefined reference to `osgViewer::WindowSizeHandler::WindowSizeHandler()' osgVRPNviewer.cpp:(.text+0x1339): undefined reference to `osgViewer::View::addEventHandler(osgGA::EventHandler*)' osgVRPNviewer.cpp:(.text+0x134e): undefined reference to `osgViewer::StatsHandler::StatsHandler()' ../../bin/libosgVRPN.so: undefined reference to `q_from_axis_angle' ../../bin/libosgVRPN.so: undefined reference to `osgGA::CameraManipulator::computeHomePosition(osg::Camera const*, bool)' ../../bin/libosgVRPN.so: undefined reference to `osgGA::CameraManipulator::handle(osgGA::GUIEventAdapter const&, osgGA::GUIActionAdapter&)' I'm wondering if things have changed enough that this won't compile with the current versions. Is this a lost cause?? Any help would be appreciated. Thank you. --Mike Thank you! Cheers, Michael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76148#76148 Attachments: http://forum.openscenegraph.org//files/error_dump_211.txt ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling osgVRPN
Hi Again, As an update, I whittled my way through several of the dependency issues Code: Scanning dependencies of target osgdb_tracker Scanning dependencies of target osgVRPNwall Scanning dependencies of target osgVRPNviewer Scanning dependencies of target osgVRPNmod [ 65%] Building CXX object src/osgPlugins/tracker/CMakeFiles/osgdb_tracker.dir/ReaderWriterTRACKER.cpp.o [ 70%] Building CXX object examples/osgVRPNwall/CMakeFiles/osgVRPNwall.dir/osgVRPNwall.cpp.o [ 80%] Building CXX object examples/osgVRPNmod/CMakeFiles/osgVRPNmod.dir/osgVRPNmod.cpp.o [ 80%] Building CXX object examples/osgVRPNviewer/CMakeFiles/osgVRPNviewer.dir/osgVRPNviewer.cpp.o [ 85%] Linking CXX shared module ../../../bin/osgdb_tracker.so [ 85%] Built target osgdb_tracker [ 90%] Linking CXX executable ../../bin/osgVRPNwall ../../bin/libosgVRPN.so: undefined reference to `q_from_axis_angle' collect2: error: ld returned 1 exit status examples/osgVRPNwall/CMakeFiles/osgVRPNwall.dir/build.make:102: recipe for target 'bin/osgVRPNwall' failed make[2]: *** [bin/osgVRPNwall] Error 1 CMakeFiles/Makefile2:347: recipe for target 'examples/osgVRPNwall/CMakeFiles/osgVRPNwall.dir/all' failed make[1]: *** [examples/osgVRPNwall/CMakeFiles/osgVRPNwall.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs [ 95%] Linking CXX executable ../../bin/osgVRPNviewer [100%] Linking CXX executable ../../bin/osgVRPNmod ../../bin/libosgVRPN.so: undefined reference to `q_from_axis_angle' collect2: error: ld returned 1 exit status examples/osgVRPNviewer/CMakeFiles/osgVRPNviewer.dir/build.make:102: recipe for target 'bin/osgVRPNviewer' failed make[2]: *** [bin/osgVRPNviewer] Error 1 CMakeFiles/Makefile2:237: recipe for target 'examples/osgVRPNviewer/CMakeFiles/osgVRPNviewer.dir/all' failed make[1]: *** [examples/osgVRPNviewer/CMakeFiles/osgVRPNviewer.dir/all] Error 2 ../../bin/libosgVRPN.so: undefined reference to `q_from_axis_angle' collect2: error: ld returned 1 exit status examples/osgVRPNmod/CMakeFiles/osgVRPNmod.dir/build.make:102: recipe for target 'bin/osgVRPNmod' failed make[2]: *** [bin/osgVRPNmod] Error 1 CMakeFiles/Makefile2:292: recipe for target 'examples/osgVRPNmod/CMakeFiles/osgVRPNmod.dir/all' failed make[1]: *** [examples/osgVRPNmod/CMakeFiles/osgVRPNmod.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 When I do the following: Code: # nm - list symbols from object files $> nm bin/libosgVRPN.so | grep q_from_axis_angle U q_from_axis_angle It shows it undefined in libosgVRPN.so Same with libvrpn.a Code: $> nm ./libvrpn.a | grep q_from_axis_angle U q_from_axis_angle HOWEVER Code: $> nm ./libquat.a | grep q_from_axis_angle 0980 T q_from_axis_angle So it seems either libquat isn't linked against libvrpn or libosgVRPN... Wondering if something is missing in the osgvrpnviewer makefile? Again any help or ideas would be great. ... Thank you! Cheers, Michael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76151#76151 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling osgVRPN
Hi Joao, Could you please post how you managed to get osgVRPN compiling with the rest of OSG source. thanks are you compiling osgVRPN separately? or did you drop everythign on top of OSG source? also, which VRPN version did you end up using? ... Thank you! Cheers, Hoss -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63657#63657 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Compiling osgVRPN
I understand that osgVRPN isn't an officially managed project, but I don't know where else to ask this. I'm currently trying to compile osgVRPN without success. CMake runs successfully, but I cannot build the project due to some files missing (namely libvrpn.a.lib). Does anyone know where I can get that file? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling osgVRPN
João writes: I thought so too, considering I had to get a vrpn_Configure.h file from VRPN, but I cannot find that library after compiling VRPN. Could it be a static/shared issue? osgVRPN seems to look for a static version of the VRPN library (.a.lib). Or maybe you can rename your libvrpn.a file to that name. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling osgVRPN
João writes: I understand that osgVRPN isn't an officially managed project, but I don't know where else to ask this. I'm currently trying to compile osgVRPN without success. CMake runs successfully, but I cannot build the project due to some files missing (namely libvrpn.a.lib). Does anyone know where I can get that file? That seems to be the VRPN library. You might have to build it before osgVRPN. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling osgVRPN
I thought so too, considering I had to get a vrpn_Configure.h file from VRPN, but I cannot find that library after compiling VRPN. To: osg-users@lists.openscenegraph.org From: alua...@udc.es Date: Sun, 1 Mar 2015 18:43:43 +0100 Subject: Re: [osg-users] Compiling osgVRPN João writes: I understand that osgVRPN isn't an officially managed project, but I don't know where else to ask this. I'm currently trying to compile osgVRPN without success. CMake runs successfully, but I cannot build the project due to some files missing (namely libvrpn.a.lib). Does anyone know where I can get that file? That seems to be the VRPN library. You might have to build it before osgVRPN. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org