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

add catkin path to cmake

asked 2020-04-07 05:27:43 -0500

dinesh gravatar image

How do i properly use the catkin in cmake? I am trying to develop a ros controller android app using qt android with cmake. What i am trying to do is to add the find_package(CATKIN REQUIRED) inside the CMakeLists.txt file of the qt project but it says:

By not providing "FindCATKIN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CATKIN", but CMake did not find one. their was no findcatkin.cmake in the catkin package as i checked. So how do i solve this problem or make the catkin or ros packages compile inside the qt creator with cmake ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-07 06:10:07 -0500

gvdhoorn gravatar image

updated 2020-04-07 06:11:17 -0500

What i am trying to do is to add the find_package(CATKIN REQUIRED) [..]

It's catkin, not CATKIN.

Correct capitalisation matters, as this all maps to filenames. And many filesystems are case-sensitive.

So CATKIN cannot be found, but catkin should be findable (unless your search path is not properly setup).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-04-07 05:27:43 -0500

Seen: 414 times

Last updated: Apr 07 '20