rosrun "no such file or directory"
I've tried to find the answer to my problem looking at previous similar questions but no luck so far.
I've been using ROS Fuerte on Ubuntu 12.04 LTS to control Jaguar Lite robot. However, the executables created in the correct directory cannot be found by rosrun. Please see the screenshot of the error given below. I think the package path cannot be wrong because it looks into the correct package directory. I would appreciate any help.
Edit: I cannot post links because of low karma. But the code is below
robotlab@robotlab-Revo-RL80:~$ rosrun drrobot_jaguar4x4_player drrobot_player
/opt/ros/fuerte/bin/rosrun: line 73: /home/robotlab/fuerte_workspace/drrobot_jaguar4x4_player/bin/drrobot_player: No such file or directory
robotlab@robotlab-Revo-RL80:~$ ls ~/fuerte_workspace/drrobot_jaguar4x4_player/bin
drrobot_imu drrobot_keyboard_teleop drrobot_player
drrobot_joystick_teleop drrobotMsgTester drrobot_pointcloud
In addition: There are 6 executables in bin directory. drrobot_imu and drrobotMsgTester runs without problem. But the rest 4 gives no file or directory error.
Screenshot link is broken. It looks like you haven't uploaded it.
You could also paste the error as plain text in the code environment.
I am suspecting that the executable doesn't have permissions to execute... Try chmod +x to that. Or clean the bin folder and build again.
I've tried chmod. The same result. I've formatted all the drive, reinstalled Ubuntu, ros and packages. The result is the same unfortunately.
you may have to add fuerte_workspace to your CMakeLists !
But have you made/built the packages again or are they pre-built binaries? @ahendrix's answer describes almost all possibilities.
i've built the packages myself. The packages are downloaded from https://github.com/gitdrrobot. Second package depends on the first. But after building the first no executable is created. Maybe that's why the second is giving the error?