Robotics StackExchange | Archived questions

add catkin path to cmake

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 CMAKEMODULEPATH 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 ?

Asked by dinesh on 2020-04-07 05:27:43 UTC

Comments

Answers

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).

Asked by gvdhoorn on 2020-04-07 06:10:07 UTC

Comments