cmake报错This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous

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:68 (catkin_workspace)

 

代码中有一个ros2的文件夹,要拿到工作空间之外

你可能感兴趣的:(cmake报错This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous)