解决报错:CMake Error at optrosmelodicsharecatkincmakecatkin_workspacecmake100 message This workspace contains non-catkin packages in it and catkin cannot build a non-homogeneous workspace without isolat
这个报错是因为工作空间中包含非catkin包,而catkin不能在没有隔离的情况下构建非均质工作空间。解决方法是使用catkin_make_isolated命令而不是catkin_make命令来构建工作空间。在终端中输入以下命令:
catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
这将在隔离环境中构建工作空间,并安装构建的软件包。
原文地址: https://www.cveoy.top/t/topic/exhP 著作权归作者所有。请勿转载和采集!