错误:
CMake Error at /opt/ros/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/ubuntu/py_ws/build/catkin_generated/env_cached.sh
"/usr/bin/python2"
"/opt/ros/kinetic/share/actionlib_msgs/cmake/../../../lib/actionlib_msgs/genaction.py"
"/home/ubuntu/py_ws/src/basics/action/Timer.action" "-o"
"/home/ubuntu/py_ws/devel/share/basics/msg") returned error code 1
Call Stack (most recent call first):
/opt/ros/kinetic/share/actionlib_msgs/cmake/actionlib_msgs-extras.cmake:67 (safe_execute_process)
basics/CMakeLists.txt:59 (add_action_files)
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/py_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/py_ws/build/CMakeFiles/CMakeError.log".
Makefile:1354: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
原因
更改了Timer.action 文件,里面加了多个---
解决方法:
只有三个 ----