Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

catkin_make fail : must be invoked in the root of workspace

$
0
0
Please... Please help. I am trying to use rplidar, but I have this error below......... I checked the tutorial again and again but I really don't know how to fix this.. Please help me. ubuntu@ubuntu:~/catkin_ws$ cd ~/catkin_ws/src ubuntu@ubuntu:~/catkin_ws/src$ git clone https://github.com/robopeak/rplidar_ros fatal: destination path 'rplidar_ros' already exists and is not an empty directory. ubuntu@ubuntu:~/catkin_ws/src$ ls ~/catkin_ws/src CMakeLists.txt beginner_tutorials elp_stereo_camera rplidar_ros ubuntu@ubuntu:~/catkin_ws/src$ ls ~/catkin_ws/src/rplidar_ros CHANGELOG.rst CMakeLists.txt LICENSE README.md launch package.xml rplidar_A1.png rplidar_A2.png rviz scripts sdk src ubuntu@ubuntu:~/catkin_ws/src$ cd ~/catkin_ws ubuntu@ubuntu:~/catkin_ws$ catkin_make rplidarNode Base path: /home/ubuntu/catkin_ws 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 After I input ls -al /home/ubuntu/catkin_ws I got below! ubuntu@ubuntu:~/catkin_ws$ ls -al /home/ubuntu/catkin_ws total 24 drwxrwxr-x 5 ubuntu ubuntu 4096 Jan 25 15:04 . drwxr-xr-x 22 ubuntu ubuntu 4096 Jan 25 23:16 .. -rw-rw-r-- 1 ubuntu ubuntu 98 Jan 24 13:34 .catkin_workspace lrwxrwxrwx 1 ubuntu ubuntu 49 Jan 25 15:04 CMakeLists.txt -> /opt/ros/indigo/share/catkin/cmake/toplevel.cmake drwxrwxr-x 9 ubuntu ubuntu 4096 Jan 24 17:54 build drwxrwxr-x 4 ubuntu ubuntu 4096 Jan 24 17:54 devel drwxrwxr-x 5 ubuntu ubuntu 4096 Jan 25 15:39 src

Viewing all articles
Browse latest Browse all 417

Trending Articles