Skip to content

Cant install ardrone_autonomy #228

@SpOOnySk

Description

@SpOOnySk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions