We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os : ubuntu24.04 ros: rolling
colcon build --packages-select ars548_driver ars548_messages Starting >>> ars548_messages Finished <<< ars548_messages [2.02s] Starting >>> ars548_driver --- stderr: ars548_driver In file included from /usr/include/tclap/SwitchArg.h:32, from /usr/include/tclap/CmdLine.h:27, from /home/tafei/twvs_ros/src/ars548_driver/src/radar_setup.cpp:15: /usr/include/tclap/Arg.h: In instantiation of ‘void TCLAP::ExtractValue(T&, const std::string&, ValueLike) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’: /usr/include/tclap/ValueArg.h:408:17: required from ‘void TCLAP::ValueArg<T>::_extractValue(const std::string&) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’ /usr/include/tclap/ValueArg.h:368:13: required from ‘bool TCLAP::ValueArg<T>::processArg(int*, std::vector<std::__cxx11::basic_string<char> >&) [with T = _Float32’ /usr/include/tclap/ValueArg.h:335:6: required from here /usr/include/tclap/Arg.h:417:15: error: no match for ‘operator>>’ (operand types are ‘TCLAP::istringstream’ {aka ‘std::__cxx11::basic_istringstream<char>’} and ‘_Float32’) 417 | is >> destVal; | ~~~^~~~~~~~~~ In file included from /usr/include/c++/13/iostream:42, from /usr/include/tclap/Arg.h:36: /usr/include/c++/13/istream:224:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 224 | operator>>(long double& __f) | ^~~~~~~~ /usr/include/c++/13/istream:224:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘long double&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:220:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 220 | operator>>(double& __f) | ^~~~~~~~ /usr/include/c++/13/istream:220:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘double&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:216:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 216 | operator>>(float& __f) | ^~~~~~~~ /usr/include/c++/13/istream:216:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:201:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 201 | operator>>(unsigned long long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:201:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘long long unsigned int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:197:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 197 | operator>>(long long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:197:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘long long int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:192:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 192 | operator>>(unsigned long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:192:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘long unsigned int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:188:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&)[with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 188 | operator>>(long& __n) | ^~~~~~~~ /usr/include/c++/13/istream:188:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘long int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:184:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 184 | operator>>(unsigned int& __n) | ^~~~~~~~ /usr/include/c++/13/istream:184:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘unsigned int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:181:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match) 181 | operator>>(int& __n); | ^~~~~~~~ /usr/include/c++/13/istream:181:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:177:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 177 | operator>>(unsigned short& __n) | ^~~~~~~~ /usr/include/c++/13/istream:177:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘short unsigned int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:174:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match) 174 | operator>>(short& __n); | ^~~~~~~~ /usr/include/c++/13/istream:174:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘short int&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:170:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match) 170 | operator>>(bool& __n) | ^~~~~~~~ /usr/include/c++/13/istream:170:7: note: conversion of argument 1 would be ill-formed: /usr/include/tclap/Arg.h:417:15: error: cannot bind non-const lvalue reference of type ‘bool&’ to a value of type ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:325:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ 325 | operator>>(void*& __p) | ^~~~~~~~ /usr/include/c++/13/istream:325:25: note: no known conversion for argument 1 from ‘_Float32’ to ‘void*&’ 325 | operator>>(void*& __p) | ~~~~~~~^~~ /usr/include/c++/13/istream:122:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ 122 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ^~~~~~~~ /usr/include/c++/13/istream:122:36: note: no known conversion for argument 1 from ‘_Float32’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’} 122 | operator>>(__istream_type& (*__pf)(__istream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/istream:126:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’ 126 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/13/istream:126:32: note: no known conversion for argument 1 from ‘_Float32’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’} 126 | operator>>(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/istream:133:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ 133 | operator>>(ios_base& (*__pf)(ios_base&)) | ^~~~~~~~ /usr/include/c++/13/istream:133:30: note: no known conversion for argument 1 from ‘_Float32’ to ‘std::ios_base& (*)(std::ios_base&)’ 133 | operator>>(ios_base& (*__pf)(ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/c++/13/istream:349:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’ 349 | operator>>(__streambuf_type* __sb); | ^~~~~~~~ /usr/include/c++/13/istream:349:36: note: no known conversion for argument 1 from ‘_Float32’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’} 349 | operator>>(__streambuf_type* __sb); | ~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/c++/13/string:55, from /usr/include/tclap/SwitchArg.h:29: /usr/include/c++/13/bits/basic_string.tcc:827:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’ 827 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.tcc:827:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ In file included from /usr/include/c++/13/bits/memory_resource.h:38, from /usr/include/c++/13/string:58: /usr/include/c++/13/cstddef:130:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’ 130 | operator>>(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/13/cstddef:130:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:12: note: cannot convert ‘is’ (type ‘TCLAP::istringstream’ {aka ‘std::__cxx11::basic_istringstream<char>’}) to type ‘std::byte’ 417 | is >> destVal; | ^~ In file included from /usr/include/c++/13/istream:1106: /usr/include/c++/13/bits/istream.tcc:975:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’ 975 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/13/bits/istream.tcc:975:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘_Float32’) 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:846:5: note: candidate: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’ 846 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/13/istream:846:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘unsigned char&’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:851:5: note: candidate: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’ 851 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/13/istream:851:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘signed char&’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:893:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT*)’ 893 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /usr/include/c++/13/istream:893:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: mismatched types ‘_CharT*’ and ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:936:5: note: candidate: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char*)’ 936 | operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/13/istream:936:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘unsigned char*’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:942:5: note: candidate: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char*)’ 942 | operator>>(basic_istream<char, _Traits>& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/13/istream:942:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘signed char*’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/istream:1096:5: note: candidate: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’ 1096 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /usr/include/c++/13/istream:1096:5: note: template argument deduction/substitution failed: /usr/include/c++/13/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_istringstream<char>&; _Tp = _Float32&]’: /usr/include/tclap/Arg.h:417:8: required from ‘void TCLAP::ExtractValue(T&, const std::string&, ValueLike) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’ /usr/include/tclap/ValueArg.h:408:17: required from ‘void TCLAP::ValueArg<T>::_extractValue(const std::string&) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’ /usr/include/tclap/ValueArg.h:368:13: required from ‘bool TCLAP::ValueArg<T>::processArg(int*, std::vector<std::__cxx11::basic_string<char> >&) [with T = _Float32’ /usr/include/tclap/ValueArg.h:335:6: required from here /usr/include/c++/13/istream:1096:5: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’ In file included from /usr/include/tclap/Arg.h:37: /usr/include/tclap/Arg.h: In instantiation of ‘void TCLAP::ExtractValue(T&, const std::string&, ValueLike) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’: /usr/include/tclap/ValueArg.h:408:17: required from ‘void TCLAP::ValueArg<T>::_extractValue(const std::string&) [with T = _Float32; std::string = std::__cxx11::basic_string<char>]’ /usr/include/tclap/ValueArg.h:368:13: required from ‘bool TCLAP::ValueArg<T>::processArg(int*, std::vector<std::__cxx11::basic_string<char> >&) [with T = _Float32’ /usr/include/tclap/ValueArg.h:335:6: required from here /usr/include/c++/13/iomanip:73:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Resetiosflags)’ 73 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:73:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘std::_Resetiosflags’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:103:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setiosflags)’ 103 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:103:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘std::_Setiosflags’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:134:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setbase)’ 134 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:134:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘std::_Setbase’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:172:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setfill<_CharT>)’ 172 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:172:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: mismatched types ‘std::_Setfill<_CharT>’ and ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:202:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setprecision)’ 202 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:202:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘std::_Setprecision’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:232:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setw)’ 232 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:232:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: cannot convert ‘destVal’ (type ‘_Float32’) to type ‘std::_Setw’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:266:5: note: candidate: ‘template<class _CharT, class _Traits, class _MoneyT> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Get_money<_MoneyT>)’ 266 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:266:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: mismatched types ‘std::_Get_money<_MoneyT>’ and ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ /usr/include/c++/13/iomanip:420:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Get_time<_CharT>)’ 420 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f) | ^~~~~~~~ /usr/include/c++/13/iomanip:420:5: note: template argument deduction/substitution failed: /usr/include/tclap/Arg.h:417:15: note: mismatched types ‘std::_Get_time<_CharT>’ and ‘_Float32’ 417 | is >> destVal; | ~~~^~~~~~~~~~ gmake[2]: *** [CMakeFiles/radar_setup.dir/build.make:76: CMakeFiles/radar_setup.dir/src/radar_setup.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:193: CMakeFiles/radar_setup.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 --- Failed <<< ars548_driver [10.3s, exited with code 2] Summary: 1 package finished [17.4s] 1 package failed: ars548_driver 1 package had stderr output: ars548_driver
I can build success with replace that line is >> destVal; with return; in /usr/include/tclap/Arg.h:417:15; Is my C++version incorrect?
is >> destVal;
return;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
os : ubuntu24.04
ros: rolling
I can build success with replace that line
is >> destVal;
withreturn;
in /usr/include/tclap/Arg.h:417:15;Is my C++version incorrect?
The text was updated successfully, but these errors were encountered: