Ask Your Question

catkin_make looking for src/src/

asked 2016-10-26 20:28:27 -0500

donghok4 gravatar image

updated 2016-10-27 01:39:46 -0500

gvdhoorn gravatar image

Hello I am new about ros and c++.

I am doing some school project with raspberry pi3 and ros. My professor recommend this. I install the ros kinetic based on ubuntu mate. I try to install the hokuyo laser which is I only got for slam.

I am downloading the source and try to catkin_make in my src folder.(is it right?) However they are showing this.

The specified source space /home/kangr/ros_catkin_ws/src/src does not exist

I have no idea what i have to do. please help me.

kangr@kangr:~/ros_catkin_ws$ ls
build  devel  src
kangr@kangr:~/ros_catkin_ws$ cd src
kangr@kangr:~/ros_catkin_ws/src$ ls
CMakeLists.txt  driver_common  urg_node
kangr@kangr:~/ros_catkin_ws/src$ catkin_make
Base path: /home/kangr/ros_catkin_ws/src
The specified source space "/home/kangr/ros_catkin_ws/src/src" does not exist


kangr@kangr:~/ros_catkin_ws/src$ printenv | grep ROS
edit retag flag offensive close merge delete


If you're really just starting out, I recommend you pick up one of the books about ROS. One that I've heard is good for beginners is A Gentle Introduction to ROS. You can buy a copy of Amazon, or download it from the website. Support the author, buy a copy.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:42:50 -0500 )edit

If you're more of a video person: try these.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:45:13 -0500 )edit

Thanks I will read it.

donghok4 gravatar image donghok4  ( 2016-10-31 15:12:58 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-10-26 21:37:30 -0500

alienmon gravatar image

go to /home/kangr/ros_catkin_ws directory, and catkin_make there

edit flag offensive delete link more


This is the answer.

@donghok4: the error message would seem to tell you this as well: is there a directory src inside your /home/kangr/ros_catkin_ws/src directory?

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 01:40:51 -0500 )edit

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-10-26 20:28:27 -0500

Seen: 9,364 times

Last updated: Oct 27 '16