ros - Run cmake Qt creator error -


i trying open ros package in qt creator isn't working. every time run cmake following errors occur:

cmake error @ cmakelists.txt:15 (catkin_package): unknown cmake command "catkin_package".

cmake error @ cmakelists.txt:5 (find_package): not find module findcatkin.cmake or configuration file package catkin.

adjust cmake_module_path find findcatkin.cmake or set catkin_dir directory containing cmake configuration file catkin. file have 1 of following names:

catkinconfig.cmake catkin-config.cmake 

i don't know do, suggestion?

as stated on ros wiki page ides, open ros node in qtcreator have to...

  1. make sure, setup.bash of catkin workspace sourced. can add source ~/path/to/your/ws/devel/setup.bash .bashrc, don't have manually every terminal. (this point not mentioned on liked wiki page).
  2. run qtcreator in terminal (or use desktop file linked wiki page).
  3. open cmakelists.txt of whole workspace, not 1 of single package (otherwise compiling within qtcreator not work properly)
    note: cmakelists.txt of workspace link file somewhere in /opt/ros. cause problems qtcreator, therefore remove link , copy file instead (the exact location of file has copied can displayed ls -l cmakelists.txt).

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -