CMake Error at /opt/ros/melodic/share/catkin/cmake/catkin_workspace.cmake:100 (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:69 (catkin_workspace) -- Configuring incomplete, errors occurred! See also "/home/q/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/q/catkin_ws/build/CMakeFiles/CMakeError.log". Makefile:1496: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
时间: 2023-09-13 16:10:56 浏览: 292
linphone-desktop出现Cmake Error at builders/vpx.cmake:89的几个错误文件解决
这个错误是由于你的工作空间包含了非catkin包,而catkin无法在非同构的工作空间中进行构建。解决这个问题的方法是尝试使用'catkin_make_isolated'命令代替'catkin_make'命令来构建工作空间。你可以在CMakeLists.txt文件中的第69行找到catkin_workspace命令并进行相应修改。另外,你还可以查看"/home/q/catkin_ws/build/CMakeFiles/CMakeOutput.log"和"/home/q/catkin_ws/build/CMakeFiles/CMakeError.log"文件来获取更多的错误信息。最后,"make cmake_check_build_system"命令执行失败导致了"cmake_check_build_system"目标的构建失败。
阅读全文