Error occured when importing my project to qtcreator
Hi,
i try to compile my ROS project with qtcreator, i followed this tutorial link text, but when i run cmake, i got the following error:
"/home/quka/dev/catkin_ws/build/catkin_generated/generate_cached_setup.py") returned error code 1 Call Stack (most recent call first): /opt/ros/hydro/share/catkin/cmake/all.cmake:187 (safe_execute_process) /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:20 (include) CMakeLists.txt:52 (find_package)
Traceback (most recent call last): File "/home/quka/dev/catkin_ws/build/catkin_generated/generate_cached_setup.py", line 19, in <module> from catkin.environment_cache import generate_environment_script ImportError: No module named catkin.environment_cache
Someone knows how to fix it? I'm using hydro+ubuntu 12.04.
did you start qtcreator from terminal or from script ?
i start it from terminal.
Make sure you start it from a terminal in which you have sourced the
setup.bash
file in/opt/ros/hydro
.You might also want to double check that you are using the latest version of the catkin_pkg package (and e.g. not outdated version installed via pip).