I have the same problem on 10.04.
It's look like nvidia CG package is broken, probably because of some changes on nvidia download site which prevent installer from downloading CG package.

Pozdrawiam
Konrad Banachowicz


2010/12/13 chris_li <gang.li@okstate.edu>

Hi all,

I have some problem to launch rviz in my new computer(a netbook). rviz was
working on my previous one(laptop).

It is running Ubuntu 9.10, and when I run

rosrun rviz rviz

it gives me this:

Failed to initialize Ogre: OGRE EXCEPTION(7:InternalErrorException): Could
not load dynamic library Plugin_CgProgramManager.  System Error: libCg.so:
cannot open shared object file: No such file or directory in DynLib::load at
/tmp/buildd/ros-cturtle-visualization-common-1.2.0/debian/ros-cturtle-visualization-common/opt/ros/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreDynLib.cpp
(line 91)

[ERROR] [1292276863.774669784]: Caught exception while loading: OGRE
EXCEPTION(7:InternalErrorException): Could not load dynamic library
Plugin_CgProgramManager.  System Error: libCg.so: cannot open shared object
file: No such file or directory in DynLib::load at
/tmp/buildd/ros-cturtle-visualization-common-1.2.0/debian/ros-cturtle-visualization-common/opt/ros/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreDynLib.cpp
(line 91)

I read some post about rviz problem, it seems like something wrong with
OGRE??

Could somebody give some advice on it?

Chris

--
View this message in context: http://ros-users.122217.n3.nabble.com/rviz-issue-tp2081721p2081721.html
Sent from the ROS-Users mailing list archive at Nabble.com.
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users