Ask Your Question
1

Couldn't find executable named run [closed]

asked 2012-10-16 10:19:21 -0500

salma gravatar image

updated 2012-10-23 09:31:32 -0500

Last Edition of this Question : http://www.youtube.com/watch?v=popJPILl4Zk&feature=youtu.be

After installing RoboEarth Stack using these commands:

 salma@salma-G31M-S2L:~$ sudo su
    [sudo] password for salma: 
    root@salma-G31M-S2L:/home/salma# cd /opt/ros/fuerte/stacks
    root@salma-G31M-S2L:/opt/ros/fuerte/stacks# svn co https://ipvs.informatik.uni-stuttgart.de/roboearth/repos/public/tags/latest roboearth rosmake re_comm

RoboEarth Stack installed in my stacks folder ,, but when starting run re_comm run like here http://www.ros.org/wiki/roboearth/Tutorials/Record%20an%20object%20model it throws this error :

salma@salma-G31M-S2L:~$ rosrun re_comm run
[rosrun] Couldn't find executable named run below /opt/ros/fuerte/stacks/roboearth/re_comm

ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ first instruction : $ rosinstall ~/ros /opt/ros/fuerte 'http://www.ros.org/wiki/roboearth?action=AttachFile&do=get&target=roboearth.rosinstall' Yes it installed Roboearth stack in ros folder in my Home .. Second instructure : sudo apt-get install ros-fuerte-ias-common ros-fuerte-perception-pcl ros-fuerte-opencv2 ros-fuerte-octomap-mapping ros-fuerte-client-rosjava-jni libsuitesparse-dev

this is the result :

[sudo] password for salma: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libsuitesparse-dev is already the newest version.
ros-fuerte-client-rosjava-jni is already the newest version.
ros-fuerte-ias-common is already the newest version.
ros-fuerte-octomap-mapping is already the newest version.
ros-fuerte-opencv2 is already the newest version.
ros-fuerte-perception-pcl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 153 not upgraded.

Third instructure : rosmake roboearth

[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['roboearth']                               
[ rosmake ] Logging to directory /home/salma/.ros/rosmake/rosmake_output-20121017-151632
[ rosmake ] Expanded args ['roboearth'] to:
['re_msgs', 're_comm', 're_comm_core', 're_kinect_object_detector', 'ar_bounding_box', 're_object_recorder', 're_object_detector_gui', 're_srvs', 're_ontology', 're_2dmap_extractor', 're_vision']
cannot find required resource: ccny_vision

ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/opt/ros/fuerte/share
ROS path [2]=/opt/ros/fuerte/stacks

ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ :( :(

salma@salma-G31M-S2L:~$ cd ~/ros/stacks
salma@salma-G31M-S2L:~/ros/stacks$ git clone http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/ccny_vision.git
Cloning into 'ccny_vision'...

Yes it installed ccny_vision in my Home/roS/stacks but when command :

salma@salma-G31M-S2L:~/ros/stacks/ccny_vision$ rosmake ccny_vision --rosdep-install
Usage: rosmake [options] [PACKAGE]...

rosmake: error: no such option: --rosdep-install
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-09-18 18:40:53.423693

Comments

The wiki says that ccny_vision is a dependency http://www.ros.org/wiki/ccny_vision

SL Remy gravatar image SL Remy  ( 2012-10-17 03:29:20 -0500 )edit

no :( it git clone but not built :(

salma@salma-G31M-S2L:~/ros/stacks/ccny_vision$ rosmake ccny_vision --rosdep-install Usage: rosmake [options] [PACKAGE]...

rosmake: error: no such option: --rosdep-install

salma gravatar image salma  ( 2012-10-17 09:30:56 -0500 )edit

what happens if you continue only with "rosmake ccny_vision"?

SL Remy gravatar image SL Remy  ( 2012-10-18 02:35:34 -0500 )edit

and then "rosdep install ccny_vision" (if you haven't done rosdep previously you'll have to first do the "sudo rosdep init" and then rosdep update...)

SL Remy gravatar image SL Remy  ( 2012-10-18 02:39:03 -0500 )edit

mmmm i don't know more about it ,, i want to do like this vedio http://www.youtube.com/watch?feature=player_embedded&v=5uMCa-dgtFE just recording an object model and upload it this task require roboearth stack ,,i don't know another method to do that and don't know what is wrong with it !

salma gravatar image salma  ( 2012-10-18 08:54:40 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2012-10-16 11:12:25 -0500

SL Remy gravatar image

Checking out the source is not the same as installing the package.

"run" is the executable from roboearth.wp5.Main, so this error suggests that you indeed haven't installed the package.

Check step 3 of the instructions again.

edit flag offensive delete link more

Comments

Ok, step 3 make me install RoboEarth in Home folder Not in my stacks in furete/ros/stacks and throw error also when replacing ~/ros by opt/furete/ros/stacks ,, what should i do ?

salma gravatar image salma  ( 2012-10-16 11:55:10 -0500 )edit

Their instructions are guiding you not to modify your /opt/ directory and keep the code that isn't part of the base ros install in your home directory. What is the error you get when you follow the instructions?

SL Remy gravatar image SL Remy  ( 2012-10-17 02:49:30 -0500 )edit

i edited the question to add what i get when i follow the instructions and after that i tried to command : rosrun re_comm run [rosrun] Couldn't find executable named run below /opt/ro but it throw an error : [rosrun] Couldn't find executable named run below /opt/ros/fuerte/stacks/roboearth/re_comm

salma gravatar image salma  ( 2012-10-17 03:22:44 -0500 )edit

You're missing http://www.ros.org/wiki/ccny_vision. Put it in the same ~/ros overlay where you put roboearth and rosmake again.

dornhege gravatar image dornhege  ( 2012-10-17 03:30:05 -0500 )edit

Did this resolve your issue?

SL Remy gravatar image SL Remy  ( 2012-10-17 07:24:38 -0500 )edit

no :(

it git clone but not built :(

salma@salma-G31M-S2L:~/ros/stacks/ccny_vision$ rosmake ccny_vision --rosdep-install Usage: rosmake [options] [PACKAGE]...

rosmake: error: no such option: --rosdep-install

salma gravatar image salma  ( 2012-10-17 08:47:17 -0500 )edit

Question Tools

Stats

Asked: 2012-10-16 10:19:21 -0500

Seen: 992 times

Last updated: Oct 23 '12