ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rosrun can't able to find executable of rviz

asked 2016-02-16 07:13:16 -0600

mathpati.nikhil gravatar image

updated 2016-02-17 01:31:08 -0600

mgruhler gravatar image


I removed rviz from ros-groovy

$ sudo apt-get remove ros-groovy-rviz

After that from backup i coppied rviz folder into /opt/ros/groovy/share then

$ rosdep install rviz

$ rosmake rviz

rosdep and rosmake doesn't give any error. After that when i tried

rosrun rviz rviz

It is giving following error:

pr2admin@basestation:~$ rosrun rviz rviz

[rosrun] Couldn't find executable named rviz below /opt/ros/groovy/share/rviz

[rosrun] Found the following, but they're either not files,

[rosrun] or not executable:

[rosrun]   /opt/ros/groovy/share/rviz
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-17 01:36:55 -0600

mgruhler gravatar image

The executable is actually in /opt/ros/groovy/lib/rviz/, not in share. You didn't copy this. This is why it is not working at all.

Also you shouldn't just copy all this stuff over from a backup, because then you cannot install or update rviz. Why don't you just install it again via apt-get?

That there are no errors when you do a rosmake is just becaus there are no makefiles in the rviz package. This is compeltely unnecessary here.

If you want to use a specific version of rviz, better build this specific version from source and have it in your workspace...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-02-16 07:13:16 -0600

Seen: 439 times

Last updated: Feb 17 '16