Ask Your Question

Ros Indigo catkin_make failed and missing src [closed]

asked 2015-05-15 23:27:35 -0500

Tsao gravatar image

updated 2015-05-16 08:59:39 -0500

I was using new drone image of BeagleBone of Indigo, and I am totally new for Indigo.

In the "ls" of my BeagleBone, there is indigo file, and under the indigo only has indigo-isolated file without build, devel, and src.

I was usually download the package into src and catkin_make && install it in the catkin directory in the hydro system.

For instance, one engineer emailed me :

If you are going to connect a camera in Erle-Brain(beaglebone). I recommend you install this usb_cam package.

Put the code in ~/indigo/src. Then you must to be located on ~/indigo (cd ~/indigo). Take in account that ROS has his own compilation chain (don't use cmake). Execute the following command:

catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --pkg usb_cam

But I wasn't to make it sucessfully. It shows:

/root/indigo/install_isolated/lib/ undefined reference to 


collect2: ld returned 1 exit status

make[2]: *** [/root/indigo/devel/lib/usb_cam/usb_cam_node] Error 1

make[1]: *** [usb_cam/CMakeFiles/usb_cam_node.dir/all] Error 2

make: *** [all] Error 2

Invoking "make -j1 -l1” failed

root@beaglebone:~/indigo# rosrun image_view image_view image:=/camera/image

[rospack] Error: package 'image_view' not found


Does anyone able to help me? if so, I'd really appreciated, please !



there are the following that I cannot find my catkin_ws

root@beaglebone:~# ls
ArduCopter.elf  ardupilot  CHANGES.txt  indigo  rt-tests  tools  wifi
root@beaglebone:~# cd indigo/
root@beaglebone:~/indigo# ls
root@beaglebone:~/indigo# cd install_isolated/
root@beaglebone:~/indigo/install_isolated# ls
bin  etc  include  lib  setup.bash  setup.zsh  share
root@beaglebone:~/indigo/install_isolated# cd share/ 
root@beaglebone:~/indigo/install_isolated/share# ls
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-04-30 03:02:28.408280

2 Answers

Sort by » oldest newest most voted

answered 2015-05-16 07:21:51 -0500

Tsao gravatar image

updated 2015-05-16 07:23:30 -0500


thank you for your quick reply.

This is my question that I have no idea of where the workplace is.

root@beaglebone:~/indigo/install_isolated# ls

bin  etc  lib  setup  setup.zsh  include  setup.bash  share

Could you please teach me the installation step by step?

edit flag offensive delete link more


Well. you can get into catkin_ws/src file first. Then, sudo git clone Then, cd .. and you are in the catkin_ws file which has devel build src . Now, catkin_make, in most times, you will see [100%] Built target usb_cam_node in terminal.

wsAndy gravatar image wsAndy  ( 2015-05-16 07:34:42 -0500 )edit

catkin_ws is your workplace. and usb_cam in the catkin_ws/src is your package.

wsAndy gravatar image wsAndy  ( 2015-05-16 07:36:47 -0500 )edit

Thanks. but I cannot find the place of catkin_ws also, I only have one file install_isolated of indigo, any idea? by the way, there is a share file under install_isolated, shill I download the package here? Tsao

Tsao gravatar image Tsao  ( 2015-05-16 08:50:14 -0500 )edit

well, I know what you mean. bin etc lib setup setup.zsh include setup.bash share is in your ROS's source. But , what I have said catkin_ws in in your /home. you have to get into your /home first.

Well , I use ubuntu 14.04.

wsAndy gravatar image wsAndy  ( 2015-05-16 10:05:52 -0500 )edit

Im using OX to link BeagleBone. I followed you said, getting into the /home but there is only debian under the /home And, there are bin and Desktop under the debian....which are no files inside them....

Tsao gravatar image Tsao  ( 2015-05-16 11:03:18 -0500 )edit

Well, maybe you can create a file named catkin_ws or other name , its no matter what's the name is. Remember, you have to create a file named src in the file that you have created recently. If you still have any questions, you can read this [ ]

wsAndy gravatar image wsAndy  ( 2015-05-17 04:50:01 -0500 )edit

answered 2015-05-16 02:21:23 -0500

wsAndy gravatar image

I guess you haven't install usb_cam rightly.

Please use sudo git clone in your workplace's src file.

Then catkin_make in your workplace.

you will find [100%] Built target usb_cam_node in the terminal.

add the workplace into your working place. Like source devel/setup.bash or other command.

finally, you can roslaunch usb_cam 'your_launch_name'.launch

I hope you can make it. :)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-15 23:27:35 -0500

Seen: 955 times

Last updated: May 16 '15