Build package

asked 2014-11-06 15:24:17 -0500

Glory gravatar image

Please I need help on how to fix this error while building a package in beaglenoneblack running ROS indigo. I'm getting this error as follows: Ubuntu@arm: ~/catkin_ws $ catkin_make Base path: /home/Ubuntu/catkin_ws/src Source space: /home/Ubuntu/catkin_ws/src The specified base path "/home/Ubuntu/catkin_ws" contains a CMakeLists.txt but "catkin make" must be invoked in the root of workspace. I don't know what this means and how to proceed because I am a beginner in ROS. I appreciate any help I can get to remove this error.

edit retag flag offensive close merge delete

Comments

Have you followed the beginner tutorials? They are quite good and well-built, and cover catkin as well: http://wiki.ros.org/ROS/Tutorials

hiro64 gravatar image hiro64  ( 2014-11-06 17:04:53 -0500 )edit

It seems like your probably ran catkin_init_workspace in the wrong directory. You should have a symbolic link called CMakeLists.txt in ~/catkin_ws/src/ (created when you init the workspace), and you should be running catkin_make in ~/catkin_ws/

jarvisschultz gravatar image jarvisschultz  ( 2014-11-06 17:57:13 -0500 )edit