全部信息:-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em:56: error: <class 'genmsg.base.InvalidMsgSpec'>: Invalid constant value: invalid literal for int() with base 10: 'o'Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 211, in _load_constant_line val_converted = convert_constant_value(field_type, val) File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 180, in convert_constant_value val = int(val) #python will autocast to long if necessaryValueError: invalid literal for int() with base 10: 'o'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/lib/python3/dist-packages/em.py", line 3302, in <module> if __name__ == '__main__': main() File "/usr/lib/python3/dist-packages/em.py", line 3300, in main invoke(sys.argv[1:]) File "/usr/lib/python3/dist-packages/em.py", line 3283, in invoke interpreter.wrap(interpreter.file, (file, name)) File "/usr/lib/python3/dist-packages/em.py", line 2295, in wrap self.fail(e) File "/usr/lib/python3/dist-packages/em.py", line 2284, in wrap callable(*args) File "/usr/lib/python3/dist-packages/em.py", line 2359, in file self.safe(scanner, done, locals) File "/usr/lib/python3/dist-packages/em.py", line 2401, in safe self.parse(scanner, locals) File "/usr/lib/python3/dist-packages/em.py", line 2421, in parse token.run(self, locals) File "/usr/lib/python3/dist-packages/em.py", line 1425, in run interpreter.execute(self.code, locals) File "/usr/lib/python3/dist-packages/em.py", line 2595, in execute _exec(statements, self.globals, locals) File "<string>", line 48, in <module> File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/deps.py", line 70, in find_srv_dependencies_with_type spec = genmsg.msg_loader.load_srv_from_file(msg_context, msg_file, full_type_name) File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 485, in load_srv_from_file spec = load_srv_from_string(msg_context, text, full_name) File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 469, in load_srv_from_string msg_in = load_msg_from_string(msg_context, text_in.getvalue(), '%sRequest'%(full_name)) File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 264, in load_msg_from_string constants.append(_load_constant_line(orig_line)) File "/opt/ros/noetic/lib/python3/dist-packages/genmsg/msg_loader.py", line 213, in _load_constant_line raise InvalidMsgSpec("Invalid constant value: %s"%e)genmsg.base.InvalidMsgSpec: Invalid constant value: invalid literal for int() with base 10: 'o'CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11 (message): execute_process(/home/lgh/ros21/build/catkin_generated/env_cached.sh "/usr/bin/python3" "/usr/lib/python3/dist-packages/em.py" "--raw-errors" "-F" "/home/lgh/ros21/build/learning_service/cmake/learning_service-genmsg-context.py" "-o" "/home/lgh/ros21/build/learning_service/cmake/learning_service-genmsg.cmake" "/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em") returned error code 1Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/em_expand.cmake:25 (safe_execute_process) /opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:303 (em_expand) learning_service/CMakeLists.txt:80 (generate_messages)-- Configuring incomplete, errors occurred!See also "/home/lgh/ros21/build/CMakeFiles/CMakeOutput.log".See also "/home/lgh/ros21/build/CMakeFiles/CMakeError.log".make: *** [Makefile:992:cmake_check_build_system] 错误 1Invoking "make cmake_check_build_system" failed
展示全文
第三方账号登入
QQ 微博 微信