ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catkin_make failed: must be invoked in the root of workspace.

asked 2022-03-03 10:46:03 -0600

Hi! I want to build libfreenect, following this tutorial.

catkin_make -j2 gave me this error:

The specified base path "/home/pi/libfreenect" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace

I tried the answer on some questions regarding this issue, but it didn't work for me.

Can someone help?

I'm using the melodic ROS distro.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-03 17:25:16 -0600

Mike Scheutzow gravatar image

There is a difference between the tools cmake and catkin_make. libfreenect does not appear to be a ros package, so you can't use catkin_make to compile it. The text at the link you provided shows you what to do.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-03-03 10:46:03 -0600

Seen: 113 times

Last updated: Mar 03 '22