mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
902 stars 993 forks source link

mavros_extras does not build with catkin_tools due to missing tf2_eigen #1166

Closed jhnet closed 5 years ago

jhnet commented 5 years ago

This is only bug and feature tracker, please use it to report bugs or request features.


Issue details

If you are building from source, mavros_extras does not build when using catkin tools.

MAVROS version and platform

Mavros: 0.18.4 ROS: Kinetic Raspbian Stretch

catkin build output

/usr/bin/cmake -H/home/pi/ros_catkin_ws/src/mavros/mavros_extras -B/home/pi/ros_catkin_ws/build/mavros_extras --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/pi/ros_catkin_ws/build/mavros_extras/CMakeFiles /home/pi/ros_catkin_ws/build/mavros_extras/CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
/usr/bin/make -f CMakeFiles/copter_visualization.dir/build.make CMakeFiles/copter_visualization.dir/depend
/usr/bin/make -f CMakeFiles/mavros_extras.dir/build.make CMakeFiles/mavros_extras.dir/depend
/usr/bin/make -f CMakeFiles/servo_state_publisher.dir/build.make CMakeFiles/servo_state_publisher.dir/depend
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
cd /home/pi/ros_catkin_ws/build/mavros_extras && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras/CMakeFiles/copter_visualization.dir/DependInfo.cmake --color=
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
cd /home/pi/ros_catkin_ws/build/mavros_extras && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras/CMakeFiles/servo_state_publisher.dir/DependInfo.cmake --color=
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
/usr/bin/make -f CMakeFiles/copter_visualization.dir/build.make CMakeFiles/copter_visualization.dir/build
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
/usr/bin/make -f CMakeFiles/servo_state_publisher.dir/build.make CMakeFiles/servo_state_publisher.dir/build
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
make[2]: Für das Ziel „CMakeFiles/copter_visualization.dir/build“ ist nichts zu tun.
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
make[2]: Für das Ziel „CMakeFiles/servo_state_publisher.dir/build“ ist nichts zu tun.
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
[  9%] Built target copter_visualization
[ 18%] Built target servo_state_publisher
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
cd /home/pi/ros_catkin_ws/build/mavros_extras && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/src/mavros/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras /home/pi/ros_catkin_ws/build/mavros_extras/CMakeFiles/mavros_extras.dir/DependInfo.cmake --color=
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
/usr/bin/make -f CMakeFiles/mavros_extras.dir/build.make CMakeFiles/mavros_extras.dir/build
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird betreten
[ 22%] Building CXX object CMakeFiles/mavros_extras.dir/src/plugins/fake_gps.cpp.o
/usr/bin/c++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"mavros_extras\" -Dmavros_extras_EXPORTS -I/home/pi/ros_catkin_ws/devel/.private/diagnostic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/std_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include/ros -I/home/pi/ros_catkin_ws/devel/.private/rosgraph_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/sensor_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geometry_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/nav_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geographic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/uuid_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib/include -I/home/pi/ros_catkin_ws/devel/.private/tf2_msgs/include -I/home/pi/ros_catkin_ws/devel/include -I/home/pi/ros_catkin_ws/devel/.private/mavros_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/visualization_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/urdf/include -I/home/pi/ros_catkin_ws/devel/.private/tf/include -I/home/pi/ros_catkin_ws/src/class_loader/include -I/home/pi/ros_catkin_ws/src/roscpp_core/cpp_common/include -I/home/pi/ros_catkin_ws/src/mavros/libmavconn/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_traits/include -I/home/pi/ros_catkin_ws/src/rospack/include -I/home/pi/ros_catkin_ws/src/ros/roslib/include -I/home/pi/ros_catkin_ws/src/roscpp_core/rostime/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_serialization/include -I/home/pi/ros_catkin_ws/src/ros_comm/rosconsole/include -I/home/pi/ros_catkin_ws/src/pluginlib/include -I/home/pi/ros_catkin_ws/src/rosconsole_bridge/include -I/home/pi/ros_catkin_ws/src/std_msgs/include -I/home/pi/ros_catkin_ws/src/geometry/eigen_conversions/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include/xmlrpcpp -I/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include -I/home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include -I/home/pi/ros_catkin_ws/src/ros_comm/message_filters/include -I/home/pi/ros_catkin_ws/src/actionlib/include -I/home/pi/ros_catkin_ws/src/common_msgs/sensor_msgs/include -I/home/pi/ros_catkin_ws/src/mavros/mavros_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_ros/include -I/home/pi/ros_catkin_ws/src/mavros/mavros/include -I/home/pi/ros_catkin_ws/src/geometry/tf/include -I/home/pi/ros_catkin_ws/src/urdf/urdf/include -I/usr/include/eigen3  -std=c++14 -fPIC   -o CMakeFiles/mavros_extras.dir/src/plugins/fake_gps.cpp.o -c /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/fake_gps.cpp
[ 27%] Building CXX object CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o
/usr/bin/c++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"mavros_extras\" -Dmavros_extras_EXPORTS -I/home/pi/ros_catkin_ws/devel/.private/diagnostic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/std_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include/ros -I/home/pi/ros_catkin_ws/devel/.private/rosgraph_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/sensor_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geometry_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/nav_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geographic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/uuid_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib/include -I/home/pi/ros_catkin_ws/devel/.private/tf2_msgs/include -I/home/pi/ros_catkin_ws/devel/include -I/home/pi/ros_catkin_ws/devel/.private/mavros_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/visualization_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/urdf/include -I/home/pi/ros_catkin_ws/devel/.private/tf/include -I/home/pi/ros_catkin_ws/src/class_loader/include -I/home/pi/ros_catkin_ws/src/roscpp_core/cpp_common/include -I/home/pi/ros_catkin_ws/src/mavros/libmavconn/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_traits/include -I/home/pi/ros_catkin_ws/src/rospack/include -I/home/pi/ros_catkin_ws/src/ros/roslib/include -I/home/pi/ros_catkin_ws/src/roscpp_core/rostime/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_serialization/include -I/home/pi/ros_catkin_ws/src/ros_comm/rosconsole/include -I/home/pi/ros_catkin_ws/src/pluginlib/include -I/home/pi/ros_catkin_ws/src/rosconsole_bridge/include -I/home/pi/ros_catkin_ws/src/std_msgs/include -I/home/pi/ros_catkin_ws/src/geometry/eigen_conversions/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include/xmlrpcpp -I/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include -I/home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include -I/home/pi/ros_catkin_ws/src/ros_comm/message_filters/include -I/home/pi/ros_catkin_ws/src/actionlib/include -I/home/pi/ros_catkin_ws/src/common_msgs/sensor_msgs/include -I/home/pi/ros_catkin_ws/src/mavros/mavros_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_ros/include -I/home/pi/ros_catkin_ws/src/mavros/mavros/include -I/home/pi/ros_catkin_ws/src/geometry/tf/include -I/home/pi/ros_catkin_ws/src/urdf/urdf/include -I/usr/include/eigen3  -std=c++14 -fPIC   -o CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o -c /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/odom.cpp
[ 31%] Building CXX object CMakeFiles/mavros_extras.dir/src/plugins/rangefinder.cpp.o
[ 36%] Building CXX object CMakeFiles/mavros_extras.dir/src/plugins/px4flow.cpp.o
/usr/bin/c++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"mavros_extras\" -Dmavros_extras_EXPORTS -I/home/pi/ros_catkin_ws/devel/.private/diagnostic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/std_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include/ros -I/home/pi/ros_catkin_ws/devel/.private/rosgraph_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/sensor_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geometry_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/nav_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geographic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/uuid_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib/include -I/home/pi/ros_catkin_ws/devel/.private/tf2_msgs/include -I/home/pi/ros_catkin_ws/devel/include -I/home/pi/ros_catkin_ws/devel/.private/mavros_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/visualization_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/urdf/include -I/home/pi/ros_catkin_ws/devel/.private/tf/include -I/home/pi/ros_catkin_ws/src/class_loader/include -I/home/pi/ros_catkin_ws/src/roscpp_core/cpp_common/include -I/home/pi/ros_catkin_ws/src/mavros/libmavconn/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_traits/include -I/home/pi/ros_catkin_ws/src/rospack/include -I/home/pi/ros_catkin_ws/src/ros/roslib/include -I/home/pi/ros_catkin_ws/src/roscpp_core/rostime/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_serialization/include -I/home/pi/ros_catkin_ws/src/ros_comm/rosconsole/include -I/home/pi/ros_catkin_ws/src/pluginlib/include -I/home/pi/ros_catkin_ws/src/rosconsole_bridge/include -I/home/pi/ros_catkin_ws/src/std_msgs/include -I/home/pi/ros_catkin_ws/src/geometry/eigen_conversions/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include/xmlrpcpp -I/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include -I/home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include -I/home/pi/ros_catkin_ws/src/ros_comm/message_filters/include -I/home/pi/ros_catkin_ws/src/actionlib/include -I/home/pi/ros_catkin_ws/src/common_msgs/sensor_msgs/include -I/home/pi/ros_catkin_ws/src/mavros/mavros_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_ros/include -I/home/pi/ros_catkin_ws/src/mavros/mavros/include -I/home/pi/ros_catkin_ws/src/geometry/tf/include -I/home/pi/ros_catkin_ws/src/urdf/urdf/include -I/usr/include/eigen3  -std=c++14 -fPIC   -o CMakeFiles/mavros_extras.dir/src/plugins/rangefinder.cpp.o -c /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/rangefinder.cpp
/usr/bin/c++   -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME=\"mavros_extras\" -Dmavros_extras_EXPORTS -I/home/pi/ros_catkin_ws/devel/.private/diagnostic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/std_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include -I/home/pi/ros_catkin_ws/devel/.private/roscpp/include/ros -I/home/pi/ros_catkin_ws/devel/.private/rosgraph_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/sensor_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geometry_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/nav_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/geographic_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/uuid_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/actionlib/include -I/home/pi/ros_catkin_ws/devel/.private/tf2_msgs/include -I/home/pi/ros_catkin_ws/devel/include -I/home/pi/ros_catkin_ws/devel/.private/mavros_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/visualization_msgs/include -I/home/pi/ros_catkin_ws/devel/.private/urdf/include -I/home/pi/ros_catkin_ws/devel/.private/tf/include -I/home/pi/ros_catkin_ws/src/class_loader/include -I/home/pi/ros_catkin_ws/src/roscpp_core/cpp_common/include -I/home/pi/ros_catkin_ws/src/mavros/libmavconn/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_traits/include -I/home/pi/ros_catkin_ws/src/rospack/include -I/home/pi/ros_catkin_ws/src/ros/roslib/include -I/home/pi/ros_catkin_ws/src/roscpp_core/rostime/include -I/home/pi/ros_catkin_ws/src/roscpp_core/roscpp_serialization/include -I/home/pi/ros_catkin_ws/src/ros_comm/rosconsole/include -I/home/pi/ros_catkin_ws/src/pluginlib/include -I/home/pi/ros_catkin_ws/src/rosconsole_bridge/include -I/home/pi/ros_catkin_ws/src/std_msgs/include -I/home/pi/ros_catkin_ws/src/geometry/eigen_conversions/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include -I/home/pi/ros_catkin_ws/src/ros_comm/xmlrpcpp/include/xmlrpcpp -I/home/pi/ros_catkin_ws/src/ros_comm/roscpp/include -I/home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include -I/home/pi/ros_catkin_ws/src/ros_comm/message_filters/include -I/home/pi/ros_catkin_ws/src/actionlib/include -I/home/pi/ros_catkin_ws/src/common_msgs/sensor_msgs/include -I/home/pi/ros_catkin_ws/src/mavros/mavros_msgs/include -I/home/pi/ros_catkin_ws/src/geometry2/tf2_ros/include -I/home/pi/ros_catkin_ws/src/mavros/mavros/include -I/home/pi/ros_catkin_ws/src/geometry/tf/include -I/home/pi/ros_catkin_ws/src/urdf/urdf/include -I/usr/include/eigen3  -std=c++14 -fPIC   -o CMakeFiles/mavros_extras.dir/src/plugins/px4flow.cpp.o -c /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/px4flow.cpp
/home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/odom.cpp:20:33: fatal error: tf2_eigen/tf2_eigen.h: Datei oder Verzeichnis nicht gefunden
 #include <tf2_eigen/tf2_eigen.h>
                                 ^
compilation terminated.
CMakeFiles/mavros_extras.dir/build.make:302: die Regel für Ziel „CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet...
In file included from /usr/include/boost/bind.hpp:22:0,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h:35,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:32,
                 from /home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:23,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/px4flow.cpp:19:
/usr/include/boost/bind/bind_cc.hpp: In function ‘boost::_bi::bind_t<R, R (*)(B1), typename boost::_bi::list_av_1<A1>::type> boost::bind(R (*)(B1), A1) [with R = ros::SerializedMessage; B1 = const sensor_msgs::Temperature_<std::allocator<void> >&; A1 = boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >]’:
/usr/include/boost/bind/bind_cc.hpp:26:5: note: parameter passing for argument of type ‘boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >’ will change in GCC 7.1
     BOOST_BIND(BOOST_BIND_ST R (BOOST_BIND_CC *f) (B1), A1 a1)
     ^
In file included from /usr/include/boost/bind/bind.hpp:2126:0,
                 from /usr/include/boost/bind.hpp:22,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h:35,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:32,
                 from /home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:23,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/px4flow.cpp:19:
/usr/include/boost/bind/bind_cc.hpp:30:58: note: parameter passing for argument of type ‘boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >’ will change in GCC 7.1
     return _bi::bind_t<R, F, list_type> (f, list_type(a1));
                                                          ^
In file included from /usr/include/boost/bind.hpp:22:0,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h:35,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:32,
                 from /home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:23,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/px4flow.cpp:19:
/usr/include/boost/bind/bind.hpp: In constructor ‘boost::_bi::list1<A1>::list1(A1) [with A1 = boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >]’:
/usr/include/boost/bind/bind.hpp:231:14: note: parameter passing for argument of type ‘boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >’ will change in GCC 7.1
     explicit list1( A1 a1 ): base_type( a1 ) {}
              ^~~~~
/usr/include/boost/bind/bind.hpp:231:44: note: parameter passing for argument of type ‘boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >’ will change in GCC 7.1
     explicit list1( A1 a1 ): base_type( a1 ) {}
                                            ^
In file included from /usr/include/boost/bind/bind.hpp:47:0,
                 from /usr/include/boost/bind.hpp:22,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/publisher.h:35,
                 from /home/pi/ros_catkin_ws/src/ros_comm/roscpp/include/ros/node_handle.h:32,
                 from /home/pi/ros_catkin_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros/include/mavros/mavros_plugin.h:23,
                 from /home/pi/ros_catkin_ws/src/mavros/mavros_extras/src/plugins/px4flow.cpp:19:
/usr/include/boost/bind/storage.hpp: In constructor ‘boost::_bi::storage1<A1>::storage1(A1) [with A1 = boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >]’:
/usr/include/boost/bind/storage.hpp:42:14: note: parameter passing for argument of type ‘boost::reference_wrapper<sensor_msgs::Temperature_<std::allocator<void> > >’ will change in GCC 7.1
     explicit storage1( A1 a1 ): a1_( a1 ) {}
              ^~~~~~~~
make[2]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
CMakeFiles/Makefile2:1096: die Regel für Ziel „CMakeFiles/mavros_extras.dir/all“ scheiterte
make[1]: *** [CMakeFiles/mavros_extras.dir/all] Fehler 2
make[1]: Verzeichnis „/home/pi/ros_catkin_ws/build/mavros_extras“ wird verlassen
Makefile:138: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

Adding tf2_eigen to CMakeLists.txt resolves this error.

jhnet commented 5 years ago

This should be fixed with #1167