Dear Josh, Many thanks for your time and advices. I reinstalled the boxturtle debs and upgraded the kernel from my system. Then, the rviz became working on the updated kernel but not in previous one. Regards, Renato. From: jfaust@willowgarage.com Date: Wed, 28 Apr 2010 10:58:16 -0700 To: ros-users@code.ros.org Subject: Re: [ros-users] Problem with rviz and Ogre Those instructions say "if necessary". Since you've installed the .debs, you already have a built version of rviz. If you've built it again you may have broken things -- I would try reinstalling the boxturtle debs. Josh On Wed, Apr 28, 2010 at 3:30 AM, Renato Samperio wrote: Dear Josh, I was following the instructions in Stage tutorial and that's why I required to build rviz. This is what I did in a clean Ubuntu Karmic installation: # sudo apt-get install ros-boxturtle-base # echo "source /opt/ros/boxturtle/setup.sh" >> ~/.bashrc # . ~/.bashrc Then did: # roscd # rosmake After that, I downloaded the "teleop_base" and make the stage. $ rosmake teleop_base $ rosmake stage Finally, I tried to make the rviz but it showed to me the same error during compilation: # rosmake rviz [ rosmake ] Packages requested are: ['rviz'] [ rosmake ] Logging to directory [ rosmake ] /root/.ros/rosmake/rosmake_output-20100428-110907 [ rosmake ] Expanded args ['rviz'] to: ['rviz'] [ rosmake ] Checking rosdeps compliance for packages rviz. This may take a few seconds. [ rosmake ] rosdep check passed all system dependencies in packages [ rosmake ] Prebuilding rospack [ rosmake ] Prebuilding gtest [ rosmake ] Prebuilding genmsg_cpp [ rosmake ] [ 2 of 41 Completed ] [rosmake-0] >>> ogre >>> [ make ] [ rosmake ] [ 2 of 41 Completed ] [rosmake-1] >>> wxswig >>> [ make ] [rosmake-1] <<< wxswig <<< [PASS] [ 0.01 seconds ] [ rosmake ] [ 3 of 41 Completed ] [rosmake-1] >>> roslib >>> [ make ] [ rosmake ] Last 40 lines {------------------------------------------------------------------------------- Makefile:719: .deps/OgreSimpleRenderable.Plo: No such file or directory Makefile:720: .deps/OgreSimpleSpline.Plo: No such file or directory Makefile:721: .deps/OgreSkeleton.Plo: No such file or directory Makefile:722: .deps/OgreSkeletonInstance.Plo: No such file or directory Makefile:723: .deps/OgreSkeletonManager.Plo: No such file or directory Makefile:724: .deps/OgreSkeletonSerializer.Plo: No such file or directory Makefile:725: .deps/OgreStaticGeometry.Plo: No such file or directory Makefile:726: .deps/OgreString.Plo: No such file or directory Makefile:727: .deps/OgreStringConverter.Plo: No such file or directory Makefile:728: .deps/OgreStringInterface.Plo: No such file or directory Makefile:729: .deps/OgreSubEntity.Plo: No such file or directory Makefile:730: .deps/OgreSubMesh.Plo: No such file or directory Makefile:731: .deps/OgreTagPoint.Plo: No such file or directory Makefile:732: .deps/OgreTangentSpaceCalc.Plo: No such file or directory Makefile:733: .deps/OgreTechnique.Plo: No such file or directory Makefile:734: .deps/OgreTextAreaOverlayElement.Plo: No such file or directory Makefile:735: .deps/OgreTexture.Plo: No such file or directory Makefile:736: .deps/OgreTextureManager.Plo: No such file or directory Makefile:737: .deps/OgreTextureUnitState.Plo: No such file or directory Makefile:738: .deps/OgreTimer.Plo: No such file or directory Makefile:739: .deps/OgreUnifiedHighLevelGpuProgram.Plo: No such file or directory Makefile:740: .deps/OgreUserDefinedObject.Plo: No such file or directory Makefile:741: .deps/OgreVector2.Plo: No such file or directory Makefile:742: .deps/OgreVector3.Plo: No such file or directory Makefile:743: .deps/OgreVector4.Plo: No such file or directory Makefile:744: .deps/OgreVertexIndexData.Plo: No such file or directory Makefile:745: .deps/OgreViewport.Plo: No such file or directory Makefile:746: .deps/OgreWindowEventUtilities.Plo: No such file or directory Makefile:747: .deps/OgreWireBoundingBox.Plo: No such file or directory Makefile:748: .deps/OgreZip.Plo: No such file or directory Makefile:749: .deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo: No such file or directory make[4]: *** No rule to make target `.deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo'. Stop. make[4]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain/src' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3' make[1]: *** [ogre/lib/pkgconfig/OGRE.pc] Error 2 make[1]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre' -------------------------------------------------------------------------------} [rosmake-0] <<< ogre <<< [SKIP] No rule to make target None [ rosmake ] Halting due to failure in package ogre. [ rosmake ] Waiting for other threads to complete. [rosmake-1] <<< roslib <<< [PASS] [ 0.84 seconds ] [ rosmake ] Summary output to directory [ rosmake ] /root/.ros/rosmake/rosmake_output-20100428-110907 I also noticed that I needed to run the rosmake's only in root. From: jfaust@willowgarage.com Date: Tue, 27 Apr 2010 12:49:20 -0700 To: ros-users@code.ros.org Subject: Re: [ros-users] Problem with rviz and Ogre What did you install? It looks like you've installed the boxturtle .debs (Ogre is building in /opt/ros), which means you shouldn't need to build rviz at all. Josh On Tue, Apr 27, 2010 at 1:53 AM, Renato Samperio wrote: *As it was requested I change the topic of this message to RVIZ for easy reading of related people. Dear Josh, I had to install this packages myself because during compilation it throws an error. I will include the "$rosdep install rviz" and the error in case could be useful. 1) $ rosdep install rviz executing this script: set -o errexit #No Packages to install 2) $ rosmake rviz [ rosmake ] Packages requested are: ['rviz'] [ rosmake ] Logging to directory [ rosmake ] /root/.ros/rosmake/rosmake_output-20100426-175434 [ rosmake ] Expanded args ['rviz'] to: ['rviz'] [ rosmake ] Checking rosdeps compliance for packages rviz. This may take a few seconds. [ rosmake ] rosdep check passed all system dependencies in packages [ rosmake ] Prebuilding rospack [ rosmake ] Prebuilding gtest [ rosmake ] Prebuilding genmsg_cpp [ rosmake ] [ 2 of 41 Completed ] [rosmake-0] >>> ogre >>> [ make ] [ rosmake ] [ 2 of 41 Completed ] [rosmake-1] >>> wxswig >>> [ make ] [rosmake-1] <<< wxswig <<< [PASS] [ 0.04 seconds ] [ rosmake ] [ 3 of 41 Completed ] [rosmake-1] >>> roslib >>> [ make ] [ rosmake ] Last 40 lines {------------------------------------------------------------------------------- Makefile:719: .deps/OgreSimpleRenderable.Plo: No such file or directory Makefile:720: .deps/OgreSimpleSpline.Plo: No such file or directory Makefile:721: .deps/OgreSkeleton.Plo: No such file or directory Makefile:722: .deps/OgreSkeletonInstance.Plo: No such file or directory Makefile:723: .deps/OgreSkeletonManager.Plo: No such file or directory Makefile:724: .deps/OgreSkeletonSerializer.Plo: No such file or directory Makefile:725: .deps/OgreStaticGeometry.Plo: No such file or directory Makefile:726: .deps/OgreString.Plo: No such file or directory Makefile:727: .deps/OgreStringConverter.Plo: No such file or directory Makefile:728: .deps/OgreStringInterface.Plo: No such file or directory Makefile:729: .deps/OgreSubEntity.Plo: No such file or directory Makefile:730: .deps/OgreSubMesh.Plo: No such file or directory Makefile:731: .deps/OgreTagPoint.Plo: No such file or directory Makefile:732: .deps/OgreTangentSpaceCalc.Plo: No such file or directory Makefile:733: .deps/OgreTechnique.Plo: No such file or directory Makefile:734: .deps/OgreTextAreaOverlayElement.Plo: No such file or directory Makefile:735: .deps/OgreTexture.Plo: No such file or directory Makefile:736: .deps/OgreTextureManager.Plo: No such file or directory Makefile:737: .deps/OgreTextureUnitState.Plo: No such file or directory Makefile:738: .deps/OgreTimer.Plo: No such file or directory Makefile:739: .deps/OgreUnifiedHighLevelGpuProgram.Plo: No such file or directory Makefile:740: .deps/OgreUserDefinedObject.Plo: No such file or directory Makefile:741: .deps/OgreVector2.Plo: No such file or directory Makefile:742: .deps/OgreVector3.Plo: No such file or directory Makefile:743: .deps/OgreVector4.Plo: No such file or directory Makefile:744: .deps/OgreVertexIndexData.Plo: No such file or directory Makefile:745: .deps/OgreViewport.Plo: No such file or directory Makefile:746: .deps/OgreWindowEventUtilities.Plo: No such file or directory Makefile:747: .deps/OgreWireBoundingBox.Plo: No such file or directory Makefile:748: .deps/OgreZip.Plo: No such file or directory Makefile:749: .deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo: No such file or directory make[4]: *** No rule to make target `.deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo'. Stop. make[4]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain/src' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3' make[1]: *** [ogre/lib/pkgconfig/OGRE.pc] Error 2 make[1]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre' -------------------------------------------------------------------------------} [rosmake-0] <<< ogre <<< [SKIP] No rule to make target None [ rosmake ] Halting due to failure in package ogre. [ rosmake ] Waiting for other threads to complete. [rosmake-1] <<< roslib <<< [PASS] [ 1.67 seconds ] [ rosmake ] Summary output to directory [ rosmake ] /root/.ros/rosmake/rosmake_output-20100426-175434 3) $ sudo apt-get install blender-ogrexml libogre-dev libogremain-1.6.1 libogremain-1.6.1-dbg ogre-doc ogre-tools libceguiogre-dev libceguiogrerenderer-1.6.1 libceguiogrerenderer-1.6.1-dbg 4) $ rosrun rviz rviz -d `rospack find stage`/rviz/stage.vcg Failed to initialize Ogre: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Plugin_CgProgramManager. System Error: Plugin_CgProgramManager.so: cannot open shared object file: No such file or directory in DynLib::load at OgreDynLib.cpp (line 80) Then I copied the "Plugin_CgProgramManager.*" files but I do not know if this really solves the problem. Also, I am using NVIDIA accelerated graphics driver (version 185). I would like to know if you or any other one had this experience and any hint when trying to execute the RVIZ. Cheers, Renato. From: jfaust@willowgarage.com Date: Wed, 21 Apr 2010 13:07:54 -0700 To: ros-users@code.ros.org Subject: Re: [ros-users] Problem with sicktoolbox. I have installed OGRE by downloading the following packages: "$ sudo apt-get install blender-ogrexml libogre-dev libogremain-1.6.1 libogremain-1.6.1-dbg ogre-doc ogre-tools ogre-tools-dbg libceguiogre-dev libceguiogrerenderer-1.6.1 libceguiogrerenderer-1.6.1-dbg" Did you install these for use yourself? The boxturtle install shouldn't be using them even if they're installed. I just installed boxturtle alongside ogre 1.6.1 on a Karmic box and it works fine. What happens if you uninstall those versions of ogre? Then, I executed the roscore and obtained data streaming by the the sicklms. My problem comes when I want to run the rviz as I get the following error: $ rosrun rviz rviz -d `rospack find sicktoolbox_wrapper`/sick_test.vcg Failed to initialize Ogre: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Plugin_CgProgramManager. System Error: Plugin_CgProgramManager.so: cannot open shared object file: No such file or directory in DynLib::load at OgreDynLib.cpp (line 80) I copied the files: /opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/PlugIns/CgProgramManager/src/.libs/Plugin_CgProgramManager.so /opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/PlugIns/CgProgramManager/src/.libs/Plugin_CgProgramManager.la into the "/usr/local/OGRE/" directory. Then, I got a new error from GL: $ rosrun rviz rviz -d `rospack find sicktoolbox_wrapper`/sick_test.vcg [ INFO] 1271860552.314539000: Loading general config from [/home/sscrovers/.rviz/config] [ INFO] 1271860552.314829000: Loading display config from [/home/sscrovers/.rviz/display_config] rviz: OgreGLSupport.cpp:57: virtual void Ogre::GLSupport::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed. /opt/ros/boxturtle/ros/bin/rosrun: line 35: 3930 Aborted $exepath "$@" This usually implies you're running either: a) without a graphics card that supports hardware acceleration, or b) with the wrong drivers. See http://www.ros.org/wiki/rviz/Troubleshooting#OpenGL-related_crashes Josh Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now. _______________________________________________ ros-users mailing list ros-users@code.ros.org https://code.ros.org/mailman/listinfo/ros-users Hotmail: Powerful Free email with security by Microsoft. Get it now. _______________________________________________ ros-users mailing list ros-users@code.ros.org https://code.ros.org/mailman/listinfo/ros-users _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969