eProsima / Micro-XRCE-DDS

An XRCE DDS implementation. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
158 stars 15 forks source link

Problem building micro-xrce-dds on Ubuntu 22.04 #172

Open EashanVytla opened 5 months ago

EashanVytla commented 5 months ago

Hello, I am trying to build micro-xrce-dds on Ubuntu 22.04 on WSL on my Dell XPS 15. I am working on a project where I am trying to set up ROS2 bridge with PX4, however, I am getting stuck on this step. Any help would be greatly appreciated!

[  8%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/processor/Processor.cpp.o
In file included from /usr/include/spdlog/fmt/fmt.h:25,
                 from /usr/include/spdlog/common.h:36,
                 from /usr/include/spdlog/spdlog.h:12,
                 from /home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/logger/Logger.hpp:23,
                 from /home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
                 from /home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/client/session/Session.hpp:20,
                 from /home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/client/ProxyClient.hpp:20,
                 from /home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/Root.hpp:18,
                 from /home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:20:
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::IPv4EndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::IPv4EndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::IPv4EndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::IPv4EndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv4EndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv4EndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv4EndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::IPv4EndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::IPv4EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1044:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1757 |       formattable,
      |       ^~~~~~~~~~~
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::IPv6EndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::IPv6EndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::IPv6EndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::IPv6EndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv6EndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv6EndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::IPv6EndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::IPv6EndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::IPv6EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1045:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::CanEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::CanEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::CanEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::CanEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::CanEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::CanEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::CanEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::CanEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::CanEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1046:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::SerialEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::SerialEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::SerialEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::SerialEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::SerialEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::SerialEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::SerialEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::SerialEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::SerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1047:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::MultiSerialEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::MultiSerialEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::MultiSerialEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::MultiSerialEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::MultiSerialEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::MultiSerialEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::MultiSerialEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::MultiSerialEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::MultiSerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1048:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = eprosima::uxr::CustomEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = eprosima::uxr::CustomEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[52], unsigned int&, eprosima::uxr::CustomEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [52], unsigned int, eprosima::uxr::CustomEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[52], unsigned int&, eprosima::uxr::CustomEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::CustomEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[52], unsigned int&, eprosima::uxr::CustomEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[52], unsigned int&, eprosima::uxr::CustomEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1034:17:   required from ‘void eprosima::uxr::Processor<EndPoint>::check_heartbeats() [with EndPoint = eprosima::uxr::CustomEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1049:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::IPv4EndPoint&’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::IPv4EndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv4EndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::IPv4EndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv4EndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv4EndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv4EndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::IPv4EndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::IPv4EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::IPv4EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1044:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::IPv6EndPoint&’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::IPv6EndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv6EndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::IPv6EndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv6EndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv6EndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::IPv6EndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::IPv6EndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::IPv6EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::IPv6EndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1045:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::CanEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::CanEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::CanEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::CanEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CanEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CanEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CanEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::CanEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::CanEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::CanEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1046:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::SerialEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::SerialEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::SerialEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::SerialEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::SerialEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::SerialEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::SerialEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::SerialEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::SerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::SerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1047:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::MultiSerialEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::MultiSerialEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::MultiSerialEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::MultiSerialEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::MultiSerialEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::MultiSerialEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::MultiSerialEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::MultiSerialEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::MultiSerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::MultiSerialEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1048:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
/home/eashan/anaconda3/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = const eprosima::uxr::CustomEndPoint&]’:
/home/eashan/anaconda3/include/fmt/core.h:1777:29:   required from ‘fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; fmt::v9::detail::type <anonymous> = fmt::v9::detail::type::custom_type; T = const eprosima::uxr::CustomEndPoint&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/eashan/anaconda3/include/fmt/core.h:1901:77:   required from ‘fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const char (&)[23], unsigned int&, const eprosima::uxr::CustomEndPoint&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {char [23], unsigned int, eprosima::uxr::CustomEndPoint}]’
/home/eashan/anaconda3/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CustomEndPoint&}]’
/usr/include/spdlog/logger.h:332:68:   required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CustomEndPoint&}; spdlog::string_view_t = fmt::v9::basic_string_view<char>]’
/usr/include/spdlog/logger.h:83:13:   required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::format_string<T ...>, Args&& ...) [with Args = {const char (&)[23], unsigned int&, const eprosima::uxr::CustomEndPoint&}; fmt::v9::format_string<T ...> = fmt::v9::basic_format_string<char, const char (&)[23], unsigned int&, const eprosima::uxr::CustomEndPoint&>]’
/home/eashan/Micro-XRCE-DDS-Agent/include/uxr/agent/transport/SessionManager.hpp:113:9:   required from ‘void eprosima::uxr::SessionManager<EndPoint>::destroy_session(const EndPoint&) [with EndPoint = eprosima::uxr::CustomEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:264:40:   required from ‘bool eprosima::uxr::Processor<EndPoint>::process_create_client_submessage(eprosima::uxr::InputPacket<EndPoint>&) [with EndPoint = eprosima::uxr::CustomEndPoint]’
/home/eashan/Micro-XRCE-DDS-Agent/src/cpp/processor/Processor.cpp:1049:16:   required from here
/home/eashan/anaconda3/include/fmt/core.h:1757:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
/home/eashan/anaconda3/include/fmt/core.h:1757:7: note: ‘formattable’ evaluates to false
make[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:118: CMakeFiles/microxrcedds_agent.dir/src/cpp/processor/Processor.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:85: CMakeFiles/microxrcedds_agent.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/uagent.dir/build.make:86: uagent-prefix/src/uagent-stamp/uagent-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/uagent.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
pablogs9 commented 5 months ago

Which steps are you following?

EashanVytla commented 5 months ago

I followed these instructions for my Micro-XRCE-DDS installation: https://micro-xrce-dds.docs.eprosima.com/en/latest/installation.html

And I followed these instructions for the ROS2 installation: https://docs.px4.io/main/en/ros/ros2_comm.html#humble

EashanVytla commented 5 months ago

Does anyone have any suggestions on what I can do to get it up and running?

pablogs9 commented 5 months ago

https://github.com/eProsima/Micro-XRCE-DDS-Agent/issues/344