Building packages with QTCreator on non homogeneous workspaces

asked 2017-12-08 08:52:00 -0500

CharlieMAC gravatar image

Hi everyone!

I'm trying to configure QTCreator as the IDE for package development in ROS, but the problem is, my workspace isn't homogeneous. I've been following steps from here, but when I click on the "Run CMake" button CMake fails and gives an error which I post below:

WARNING: The CMakeLists.txt of the metapackage 'robotiq' contains non standard content. Use the content of the following file instead: /home/spluser/catkin_ws/build_isolated/catkin_generated/metapackages/robotiq/CMakeLists.txt
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message):
  This workspace contains non-catkin packages in it, and catkin cannot build
  a non-homogeneous workspace without isolation.  Try the
  'catkin_make_isolated' command instead.
Call Stack (most recent call first):
  CMakeLists.txt:63 (catkin_workspace)

When build packages inside the terminal it's no problem, I just execute catkin_make_isolated and that's all. So, the question is how can make this "Run CMake" button to run catkin_make_isolated, instead of the standard catkin_make? I tried creating a symlink from catkin_make_isolated to /usr/bin/cmake, but it didn't work either. I also tried to specify the catkin_make manually and set it as default. That didn't change the situation either.

Best,

C.

edit retag flag offensive close merge delete