-- +++ processing catkin package: 'hello_vscode' -- ==> add_subdirectory(hello_vscode) CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_install_python.cmake:86 (message): catkin_install_python() called with non-existing file '/home/dama/demo02_ws/src/hello_vscode/scripts/hello_vscode_p.py'. Call Stack (most recent call first): hello_vscode/CMakeLists.txt:162 (catkin_install_python) -- Configuring incomplete, errors occurred! See also "/home/dama/demo02_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/dama/demo02_ws/build/CMakeFiles/CMakeError.log". make: *** [Makefile:544:cmake_check_build_system] 错误 1 Invoking "make cmake_check_build_system" failed
时间: 2023-08-11 10:08:46 浏览: 220
robot-9.10+安装流程,机械臂流程必须安装
这段代码似乎是ROS的错误信息,它指出在执行`catkin_install_python()`函数时,找不到指定的python文件`/home/dama/demo02_ws/src/hello_vscode/scripts/hello_vscode_p.py`。你可以检查一下这个文件路径是否正确,或者确认一下你的python文件是否存在。如果文件确实存在,那么可能是你的CMakeLists.txt文件中的配置有误导致的。你可以仔细检查一下CMakeLists.txt文件中与该python文件有关的部分是否正确,或者尝试重新生成一下CMakeLists.txt文件。希望我的回答能帮到你!
阅读全文