'catkin build' fails - libmavconn:make [ Exited with code 2 ]

asked 2021-02-21 17:18:51 -0600

jmalbert97 gravatar image

I am attempting to simply follow the instructions found here: https://docs.px4.io/master/en/ros/mav... to use Mavros to run a custom program. I am running on Ubuntu 18.04 LTS, with GCC 7.5, ROS Melodic (followed instruction here to install: http://wiki.ros.org/melodic/Installat...) However, when i run 'catkin build' i get tons of meaningless errors, mostly syntax. I have not changed any of these files.. the errors continue and a

Errors << libmavconn:make /home/odroid/catkin_ws/logs/libmavconn/build.make.012.log In file included from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:27, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37, from /home/odroid/catkin_ws/build/libmavconn/catkin_generated/src/mavlink_helpers.cpp:21: /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: warning: missing terminating " character 959 | k_msg_fence_point.hpp" | ^ /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: error: missing terminating " character In file included from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:27, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37, from /home/odroid/catkin_ws/src/mavros/libmavconn/src/interface.cpp:22: /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: warning: missing terminating " character 959 | k_msg_fence_point.hpp" | ^ /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: error: missing terminating " character In file included from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:27, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/udp.h:22, from /home/odroid/catkin_ws/src/mavros/libmavconn/src/udp.cpp:22: /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: warning: missing terminating " character 959 | k_msg_fence_point.hpp" | ^ /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: error: missing terminating " character In file included from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:27, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/serial.h:22, from /home/odroid/catkin_ws/src/mavros/libmavconn/src/serial.cpp:22: /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: warning: missing terminating " character 959 | k_msg_fence_point.hpp" | ^ /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: error: missing terminating " character In file included from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/mavlink_dialect.h:27, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/interface.h:37, from /home/odroid/catkin_ws/src/mavros/libmavconn/include/mavconn/tcp.h:24, from /home/odroid/catkin_ws/src/mavros/libmavconn/src/tcp.cpp:22: /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: warning: missing terminating " character 959 | k_msg_fence_point.hpp" | ^ /home/odroid/catkin_ws/devel/include/mavlink/v2.0/ardupilotmega/ardupilotmega.hpp:959:22: error: missing ... (more)

edit retag flag offensive close merge delete