qtcreator open ROS package wrong

asked 2016-11-27 09:13:27 -0600

yin gravatar image

updated 2016-11-27 11:05:25 -0600

gvdhoorn gravatar image

qtcreator3.5.1

I open qtcreator from terminal by: bash -i -c qtcreator

the wrong output:

-- catkin 0.6.16
Traceback (most recent call last):
  File "/home/adminyin/rosws/build/catkin_generated/generate_cached_setup.py", line 20, in <module>
    from catkin.environment_cache import generate_environment_script
ImportError: No module named catkin.environment_cache
-- Configuring incomplete, errors occurred!
See also "/home/adminyin/rosws/build/CMakeFiles/CMakeOutput.log".
See also "/home/adminyin/rosws/build/CMakeFiles/CMakeError.log".
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python
  "/home/adminyin/rosws/build/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/all.cmake:186 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:52 (find_package)
edit retag flag offensive close merge delete