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.<br>

<br>Josh<br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 3:30 AM, Renato Samperio <span dir="ltr"><<a href="mailto:mintaka_alnitak@hotmail.com">mintaka_alnitak@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div>
Dear Josh,<br><br>
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:<br><br># sudo apt-get install ros-boxturtle-base<br># echo "source /opt/ros/boxturtle/setup.sh" >> ~/.bashrc<br># . ~/.bashrc<br><br>Then did:<br># roscd<br># rosmake<br><br>After that, I downloaded the "teleop_base" and make the stage.<br>

$ rosmake teleop_base<br>$ rosmake stage<br><br>Finally, I tried to make the rviz but it showed to me the same error during compilation:<div class="im"><br><br># rosmake rviz<br>[ rosmake ] Packages requested are: ['rviz']<br>

[ rosmake ] Logging to directory<br></div>[ rosmake ] /root/.ros/rosmake/rosmake_output-20100428-110907<div class="im"><br>[ rosmake ] Expanded args ['rviz'] to:<br>['rviz']<br>[ rosmake ] Checking rosdeps compliance for packages rviz.  This may take a few seconds.<br>

[ rosmake ] rosdep check passed all system dependencies in packages<br>[ rosmake ] Prebuilding rospack<br>[ rosmake ] Prebuilding gtest<br>[ rosmake ] Prebuilding genmsg_cpp<br>[ rosmake ] [ 2 of 41  Completed ]<br>[rosmake-0] >>> ogre >>> [ make ]<br>

[ rosmake ] [ 2 of 41  Completed ]<br>[rosmake-1] >>> wxswig >>> [ make ]<br></div>[rosmake-1] <<< wxswig <<< [PASS] [ 0.01 seconds ]<div><div></div><div class="h5"><br>[ rosmake ] [ 3 of 41  Completed ]<br>

[rosmake-1] >>> roslib >>> [ make ]<br>[ rosmake ] Last 40 lines<br>{-------------------------------------------------------------------------------<br>  Makefile:719: .deps/OgreSimpleRenderable.Plo: No such file or directory<br>

  Makefile:720: .deps/OgreSimpleSpline.Plo: No such file or directory<br>  Makefile:721: .deps/OgreSkeleton.Plo: No such file or directory<br>  Makefile:722: .deps/OgreSkeletonInstance.Plo: No such file or directory<br>  Makefile:723: .deps/OgreSkeletonManager.Plo: No such file or directory<br>

  Makefile:724: .deps/OgreSkeletonSerializer.Plo: No such file or directory<br>  Makefile:725: .deps/OgreStaticGeometry.Plo: No such file or directory<br>  Makefile:726: .deps/OgreString.Plo: No such file or directory<br>

  Makefile:727: .deps/OgreStringConverter.Plo: No such file or directory<br>  Makefile:728: .deps/OgreStringInterface.Plo: No such file or directory<br>  Makefile:729: .deps/OgreSubEntity.Plo: No such file or directory<br>

  Makefile:730: .deps/OgreSubMesh.Plo: No such file or directory<br>  Makefile:731: .deps/OgreTagPoint.Plo: No such file or directory<br>  Makefile:732: .deps/OgreTangentSpaceCalc.Plo: No such file or directory<br>  Makefile:733: .deps/OgreTechnique.Plo: No such file or directory<br>

  Makefile:734: .deps/OgreTextAreaOverlayElement.Plo: No such file or directory<br>  Makefile:735: .deps/OgreTexture.Plo: No such file or directory<br>  Makefile:736: .deps/OgreTextureManager.Plo: No such file or directory<br>

  Makefile:737: .deps/OgreTextureUnitState.Plo: No such file or directory<br>  Makefile:738: .deps/OgreTimer.Plo: No such file or directory<br>  Makefile:739: .deps/OgreUnifiedHighLevelGpuProgram.Plo: No such file or directory<br>

  Makefile:740: .deps/OgreUserDefinedObject.Plo: No such file or directory<br>  Makefile:741: .deps/OgreVector2.Plo: No such file or directory<br>  Makefile:742: .deps/OgreVector3.Plo: No such file or directory<br>  Makefile:743: .deps/OgreVector4.Plo: No such file or directory<br>

  Makefile:744: .deps/OgreVertexIndexData.Plo: No such file or directory<br>  Makefile:745: .deps/OgreViewport.Plo: No such file or directory<br>  Makefile:746: .deps/OgreWindowEventUtilities.Plo: No such file or directory<br>

  Makefile:747: .deps/OgreWireBoundingBox.Plo: No such file or directory<br>  Makefile:748: .deps/OgreZip.Plo: No such file or directory<br>  Makefile:749: .deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo: No such file or directory<br>

  make[4]: *** No rule to make target `.deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo'. Stop.<br>  make[4]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain/src'<br>

  make[3]: *** [install-recursive] Error 1<br>  make[3]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain'<br>  make[2]: *** [install-recursive] Error 1<br>  make[2]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3'<br>

  make[1]: *** [ogre/lib/pkgconfig/OGRE.pc] Error 2<br>  make[1]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre'<br>-------------------------------------------------------------------------------}<br>

[rosmake-0] <<< ogre <<< [SKIP] No rule to make target None<br>[ rosmake ] Halting due to failure in package ogre. <br>[ rosmake ] Waiting for other threads to complete.<br></div></div>[rosmake-1] <<< roslib <<< [PASS] [ 0.84 seconds ]<div class="im">

<br>[ rosmake ] Summary output to directory<br></div>[ rosmake ] /root/.ros/rosmake/rosmake_output-20100428-110907<br><br>I also noticed that I needed to run the rosmake's only in root.<br><br><br><hr>From: <a href="mailto:jfaust@willowgarage.com" target="_blank">jfaust@willowgarage.com</a><br>

Date: Tue, 27 Apr 2010 12:49:20 -0700<div class="im"><br>To: <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br></div>Subject: Re: [ros-users] Problem with rviz and Ogre<div><div></div>
<div class="h5">
<br><br>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.<br><br>Josh<br><br><div>On Tue, Apr 27, 2010 at 1:53 AM, Renato Samperio <span dir="ltr"><<a href="mailto:mintaka_alnitak@hotmail.com" target="_blank">mintaka_alnitak@hotmail.com</a>></span> wrote:<br>



<blockquote style="padding-left: 1ex;">



<div>





<br>*As it was requested I change the topic of this message to RVIZ for easy reading of related people. <br>
<br><br>Dear Josh,<br><br>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.<br><br>1) $ rosdep install rviz<br>



executing this script:<br> set -o errexit<br>#No Packages to install<br><br>2) $ rosmake rviz<br>[ rosmake ] Packages requested are: ['rviz']<br>[ rosmake ] Logging to directory<br>[ rosmake ] /root/.ros/rosmake/rosmake_output-20100426-175434<br>



[ rosmake ] Expanded args ['rviz'] to:<br>['rviz']<br>[ rosmake ] Checking rosdeps compliance for packages rviz.  This may take a few seconds.<br>[ rosmake ] rosdep check passed all system dependencies in packages<br>



[ rosmake ] Prebuilding rospack<br>[ rosmake ] Prebuilding gtest<br>[ rosmake ] Prebuilding genmsg_cpp<br>[ rosmake ] [ 2 of 41  Completed ]<br>[rosmake-0] >>> ogre >>> [ make ]<br>[ rosmake ] [ 2 of 41  Completed ]<br>



[rosmake-1] >>> wxswig >>> [ make ]<br>[rosmake-1] <<< wxswig <<< [PASS] [ 0.04 seconds ]<br>[ rosmake ] [ 3 of 41  Completed ]<br>[rosmake-1] >>> roslib >>> [ make ]<br>



[ rosmake ] Last 40 lines<br>{-------------------------------------------------------------------------------<br>  Makefile:719: .deps/OgreSimpleRenderable.Plo: No such file or directory<br>  Makefile:720: .deps/OgreSimpleSpline.Plo: No such file or directory<br>



  Makefile:721: .deps/OgreSkeleton.Plo: No such file or directory<br>  Makefile:722: .deps/OgreSkeletonInstance.Plo: No such file or directory<br>  Makefile:723: .deps/OgreSkeletonManager.Plo: No such file or directory<br>



  Makefile:724: .deps/OgreSkeletonSerializer.Plo: No such file or directory<br>  Makefile:725: .deps/OgreStaticGeometry.Plo: No such file or directory<br>  Makefile:726: .deps/OgreString.Plo: No such file or directory<br>



  Makefile:727: .deps/OgreStringConverter.Plo: No such file or directory<br>  Makefile:728: .deps/OgreStringInterface.Plo: No such file or directory<br>  Makefile:729: .deps/OgreSubEntity.Plo: No such file or directory<br>



  Makefile:730: .deps/OgreSubMesh.Plo: No such file or directory<br>  Makefile:731: .deps/OgreTagPoint.Plo: No such file or directory<br>  Makefile:732: .deps/OgreTangentSpaceCalc.Plo: No such file or directory<br>  Makefile:733: .deps/OgreTechnique.Plo: No such file or directory<br>



  Makefile:734: .deps/OgreTextAreaOverlayElement.Plo: No such file or directory<br>  Makefile:735: .deps/OgreTexture.Plo: No such file or directory<br>  Makefile:736: .deps/OgreTextureManager.Plo: No such file or directory<br>



  Makefile:737: .deps/OgreTextureUnitState.Plo: No such file or directory<br>  Makefile:738: .deps/OgreTimer.Plo: No such file or directory<br>  Makefile:739: .deps/OgreUnifiedHighLevelGpuProgram.Plo: No such file or directory<br>



  Makefile:740: .deps/OgreUserDefinedObject.Plo: No such file or directory<br>  Makefile:741: .deps/OgreVector2.Plo: No such file or directory<br>  Makefile:742: .deps/OgreVector3.Plo: No such file or directory<br>  Makefile:743: .deps/OgreVector4.Plo: No such file or directory<br>



  Makefile:744: .deps/OgreVertexIndexData.Plo: No such file or directory<br>  Makefile:745: .deps/OgreViewport.Plo: No such file or directory<br>  Makefile:746: .deps/OgreWindowEventUtilities.Plo: No such file or directory<br>



  Makefile:747: .deps/OgreWireBoundingBox.Plo: No such file or directory<br>  Makefile:748: .deps/OgreZip.Plo: No such file or directory<br>  Makefile:749: .deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo: No such file or directory<br>



  make[4]: *** No rule to make target `.deps/libSSEsupport_la-OgreOptimisedUtilSSE.Plo'. Stop.<br>  make[4]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain/src'<br>



  make[3]: *** [install-recursive] Error 1<br>  make[3]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/OgreMain'<br>  make[2]: *** [install-recursive] Error 1<br>  make[2]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3'<br>



  make[1]: *** [ogre/lib/pkgconfig/OGRE.pc] Error 2<br>  make[1]: Leaving directory `/opt/ros/boxturtle/stacks/visualization_common/ogre'<br>-------------------------------------------------------------------------------}<br>



[rosmake-0] <<< ogre <<< [SKIP] No rule to make target None<br>[ rosmake ] Halting due to failure in package ogre. <br>[ rosmake ] Waiting for other threads to complete.<br>[rosmake-1] <<< roslib <<< [PASS] [ 1.67 seconds ]<br>



[ rosmake ] Summary output to directory<br>[ rosmake ] /root/.ros/rosmake/rosmake_output-20100426-175434<br><br>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<br>



<br>4) $ rosrun rviz rviz -d `rospack find stage`/rviz/stage.vcg<br>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)<br>



<br>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).<br><br>I would like to know if you or any other one had this experience and any hint when trying to execute the RVIZ.<br>



<br>Cheers,<br><br>Renato.<br><br><hr>From: <a href="mailto:jfaust@willowgarage.com" target="_blank">jfaust@willowgarage.com</a><br>Date: Wed, 21 Apr 2010 13:07:54 -0700<br>To: <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>



Subject: Re: [ros-users] Problem with sicktoolbox.<br><br><br><div><blockquote style="padding-left: 1ex;"><div>I have installed OGRE by downloading the following packages: <br>

<br>"$ 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"<br>




</div>
</blockquote><div><br>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?<br> </div><blockquote style="padding-left: 1ex;">

<div><br>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:<br><br>$ rosrun rviz rviz -d `rospack find sicktoolbox_wrapper`/sick_test.vcg<br>





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)<br>





<br>I copied the files: <br><br>/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/PlugIns/CgProgramManager/src/.libs/Plugin_CgProgramManager.so<br><br>/opt/ros/boxturtle/stacks/visualization_common/ogre/build/ogre-v1-6-3/PlugIns/CgProgramManager/src/.libs/Plugin_CgProgramManager.la <br>





<br>into the "/usr/local/OGRE/" directory. Then, I got a new error from GL:<br><br>$ rosrun rviz rviz -d `rospack find sicktoolbox_wrapper`/sick_test.vcg<br>[ INFO] 1271860552.314539000: Loading general config from [/home/sscrovers/.rviz/config]<br>





[ INFO] 1271860552.314829000: Loading display config from [/home/sscrovers/.rviz/display_config]<br>rviz: OgreGLSupport.cpp:57: virtual void Ogre::GLSupport::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed.<br>





/opt/ros/boxturtle/ros/bin/rosrun: line 35:  3930 Aborted                 $exepath "$@"<br></div></blockquote><div><br>This usually implies you're running either: a) without a graphics card that supports hardware acceleration, or b) with the wrong drivers.  See <a href="http://www.ros.org/wiki/rviz/Troubleshooting#OpenGL-related_crashes" target="_blank">http://www.ros.org/wiki/rviz/Troubleshooting#OpenGL-related_crashes</a><br>





<br>Josh<br></div></div><div>                                       <br><hr>Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Sign up now.</a></div></div>


<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>                                       <br></div></div><div class="hm"><hr>Hotmail: Powerful Free email with security by Microsoft. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Get it now.</a></div>

</div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>