I am trying to open a ros package in Qt creator but isn't working. Every time I run cmake the following errors occur:
CMake Error at CMakeLists.txt:15 (catkin_package): Unknown CMake command "catkin_package".
CMake Error at CMakeLists.txt:5 (find_package): Could not find module Findcatkin.cmake or a configuration file for package catkin.
Adjust CMAKE_MODULE_PATH to find Findcatkin.cmake or set catkin_DIR to the directory containing a CMake configuration file for catkin. The file will have one of the following names:
catkinConfig.cmake
catkin-config.cmake
I don't know what to do, any suggestion?
As stated on the ROS wiki page about IDEs, to open a ROS node in QtCreator you have to...
source ~/path/to/your/ws/devel/setup.bash to your .bashrc, then you don't have to do it manually for every terminal. (This point is not mentioned on the liked wiki page).ls -l CMakeLists.txt).If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With