tu-darmstadt-ros-pkg / hector_quadrotor

hector_quadrotor contains packages related to modeling, control and simulation of quadrotor UAV systems.
Other
379 stars 276 forks source link

C++11 Required for catkin_make #45

Closed kuehnma closed 8 years ago

kuehnma commented 8 years ago

Hey!

following the outdoor flight tutorial for hector_quadrotor I might ran into an issure with different C++ compiler versions. Checking out all repos with the rosinstall file from https://raw.github.com/tu-darmstadt-ros-pkg/hector_quadrotor/indigo-devel/tutorials.rosinstall works fine.

On Ubuntu 14.04 with ROS indigo and Gazebo6.5, running catkin_make fails as my default compiler version is not C++11. After adding set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") in the CMakeLists.txt of hector_gazebo_plugins hector_gazebo_thermal_camera hector_quadrotor_controller_gazebo hector_quadrotor_gazebo_plugins it works fine. Not sure if this is the best solution.

Best regards

Markus

meyerj commented 8 years ago

This issue has been solved in:

Thanks for reporting!

kuehnma commented 8 years ago

Great! Thanks for fixing it!