AutonomyLab / ardrone_autonomy

ROS driver for Parrot AR-Drone 1.0 and 2.0 quadrocopters
http://wiki.ros.org/ardrone_autonomy
BSD 3-Clause "New" or "Revised" License
357 stars 226 forks source link

Cant install ardrone_autonomy #228

Open SpOOnySk opened 3 years ago

SpOOnySk commented 3 years ago

After following the steps on wiki I get error when typing this command: "catkin_make" /usr/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp: In instantiation of ‘bool boost::detail::lcast_ret_unsignedCharT>::main_convert_iteration() [with Traits = std::char_traits; T = unsigned int; CharT = char]’: /usr/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:221 :30:   required from ‘bool boost::detail::lcast_ret_unsignedCharT>::convert() [with Traits = std::char_traits; T = unsigned int; CharT = char]’ /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:550 :22:   required from ‘bool boost::detail::lexical_ostream_limited_srcTraits>::shr_signed(Type&) [with Type = int; CharT = char; Traits = std::char_traits]’ /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:643 :91:   required from ‘bool boost::detail::lexical_ostream_limited_srcTraits>::operator>>(int&) [with CharT = char; Traits = std::char_traits]’ /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:485:20: required from ‘static bool boost::detail::lexical_converter_implSource>::try_convert(const Source&, Target&) [with Target = int; Source = std::__cxx11::basic_string]’ /usr/include/boost/lexical_cast/try_lexical_convert.hpp:201:44: required from ‘bool boost::conversion::detail::try_lexical_convert(const Source&, Target&) [with Target = int; Source = std::__cxx11::basic_string]’ /usr/include/boost/lexical_cast.hpp:41:60:   required from ‘Target boost::lexical_cast(const Source&) [with Target = int; Source = std::__cxx11::basic_string]’ /opt/ros/noetic/include/ros/transport_hints.h:131:47:   required from here /usr/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp:257 :61: error: ‘std::numeric_limits::max’ cannot be used as a function   257 |                 T const maxv = (std::numeric_limits::max)();       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ make[2]: *** [ardrone_autonomy/CMakeFiles/ardrone_driver.dir/build.make:76: ardrone_autonomy/CMakeFiles/ardrone_driver.dir/src/video.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1992: ardrone_autonomy/CMakeFiles/ardrone_driver.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Invoking "make -j1 -l1" failed

any suggestions how to solve this. I have noetic version ROS

thehighestmath commented 2 years ago

I have the same issue... And I also want to solve this one. Maybe Ubuntu 16.04 (with ROS Kinetic Kame) will solve this one, but it does not seem good...