小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
按照鱼哥教程的步骤安装micro_ros_agent出错
-
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/Agent.cpp:16:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^~~~~~~~
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/topic/Topic.cpp:17:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces_.size());
| ^~~~~~
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
In file included from /usr/local/include/spdlog/spdlog.h:12,
/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/publisher/Publisher.cpp:16:
/usr/include/fmt/format.h:2493:46: note: initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
2493 | const char* message) FMT_NOEXCEPT;
|~^
In file included from /usr/local/include/spdlog/details/pattern_formatter.h:8,
from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/publisher/Publisher.cpp:16:
/usr/local/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/publisher/Publisher.cpp:16:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces_.size());
| ^~~~~~
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
In file included from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/SessionManager.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/Server.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/utils/ArgumentParser.hpp:24,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/AgentInstance.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/AgentInstance.cpp:16:
/usr/local/include/spdlog/common.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/usr/local/include/spdlog/common.h:186:54: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
186 | fmt::format_system_error(outbuf, last_errno, msg);
| ^~~
| |
| const string {aka const std::_cxx11::basic_string<char>}
In file included from /usr/local/include/spdlog/fmt/fmt.h:24,
from /usr/local/include/spdlog/common.h:28,
from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/SessionManager.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/Server.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/utils/ArgumentParser.hpp:24,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/AgentInstance.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/AgentInstance.cpp:16:
/usr/include/fmt/format.h:2493:46: note: initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
2493 | const char* message) FMT_NOEXCEPT;
|~^
In file included from /usr/local/include/spdlog/details/pattern_formatter.h:8,
from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/SessionManager.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/Server.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/utils/ArgumentParser.hpp:24,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/AgentInstance.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/AgentInstance.cpp:16:
/usr/local/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/SessionManager.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/transport/Server.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/utils/ArgumentParser.hpp:24,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/AgentInstance.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/AgentInstance.cpp:16:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces.size());
| ^~~~~~
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
In file included from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/Root.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/Root.cpp:15:
/usr/local/include/spdlog/common.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/usr/local/include/spdlog/common.h:186:54: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
186 | fmt::format_system_error(outbuf, last_errno, msg);
| ^~~
| |
| const string {aka const std::__cxx11::basic_string<char>}
In file included from /usr/local/include/spdlog/fmt/fmt.h:24,
from /usr/local/include/spdlog/common.h:28,
from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/Root.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/Root.cpp:15:
/usr/include/fmt/format.h:2493:46: note: initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
2493 | const char* message) FMT_NOEXCEPT;
|~^
In file included from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/participant/Participant.cpp:16:
/usr/local/include/spdlog/common.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/usr/local/include/spdlog/common.h:186:54: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
186 | fmt::format_system_error(outbuf, last_errno, msg);
| ^
| |
| const string {aka const std::_cxx11::basic_string<char>}
In file included from /usr/local/include/spdlog/fmt/fmt.h:24,
from /usr/local/include/spdlog/common.h:28,
from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/participant/Participant.cpp:16:
/usr/include/fmt/format.h:2493:46: note: initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
2493 | const char* message) FMT_NOEXCEPT;
|~^
In file included from /usr/local/include/spdlog/details/pattern_formatter.h:8,
from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/Root.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/Root.cpp:15:
/usr/local/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/Root.hpp:18,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/Root.cpp:15:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces.size());
| ^
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
In file included from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/client/ProxyClient.cpp:15:
/usr/local/include/spdlog/common.h: In constructor ‘spdlog::spdlog_ex::spdlog_ex(const string&, int)’:
/usr/local/include/spdlog/common.h:186:54: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
186 | fmt::format_system_error(outbuf, last_errno, msg);
| ^~~
| |
| const string {aka const std::cxx11::basic_string<char>}
In file included from /usr/local/include/spdlog/fmt/fmt.h:24,
from /usr/local/include/spdlog/common.h:28,
from /usr/local/include/spdlog/spdlog.h:12,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/client/ProxyClient.cpp:15:
/usr/include/fmt/format.h:2493:46: note: initializing argument 3 of ‘void fmt::v8::format_system_error(fmt::v8::detail::buffer<char>&, int, const char*)’
2493 | const char* message) FMT_NOEXCEPT;
|~^
In file included from /usr/local/include/spdlog/details/pattern_formatter.h:8,
from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/participant/Participant.cpp:16:
/usr/local/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/participant/Participant.cpp:16:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces.size());
| ^~~~~~
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
In file included from /usr/local/include/spdlog/details/pattern_formatter.h:8,
from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/client/ProxyClient.cpp:15:
/usr/local/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/usr/local/include/spdlog/details/fmt_helper.h:50:39: error: ‘fmt::internal’ has not been declared
50 | return static_cast<unsigned>(fmt::internal::count_digits(static_cast<count_type>(n)));
| ^~~~~~~~
In file included from /usr/local/include/spdlog/sinks/sink.h:9,
from /usr/local/include/spdlog/logger.h:23,
from /usr/local/include/spdlog/details/registry.h:15,
from /usr/local/include/spdlog/spdlog.h:13,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/logger/Logger.hpp:23,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/stream/OutputStream.hpp:22,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/session/Session.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/include/uxr/agent/client/ProxyClient.hpp:20,
from /home/orangepi/microros_ws/build/micro_ros_agent/agent/src/xrceagent/src/cpp/client/ProxyClient.cpp:15:
/usr/local/include/spdlog/details/pattern_formatter.h: In member function ‘void spdlog::details::scoped_pad::pad_it(size_t)’:
/usr/local/include/spdlog/details/pattern_formatter.h:99:9: error: ‘assert’ was not declared in this scope
99 | assert(count <= spaces.size());
| ^~~~~~
/usr/local/include/spdlog/details/pattern_formatter.h:18:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
17 | #include <cctype>
+++ |+#include <cassert>
18 | #include <memory>
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:160:CMakeFiles/microxrcedds_agent.dir/src/cpp/topic/Topic.cpp.o] 错误 1
gmake[5]: *** 正在等待未完成的任务....
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:174:CMakeFiles/microxrcedds_agent.dir/src/cpp/publisher/Publisher.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:118:CMakeFiles/microxrcedds_agent.dir/src/cpp/processor/Processor.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:76:CMakeFiles/microxrcedds_agent.dir/src/cpp/Agent.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:146:CMakeFiles/microxrcedds_agent.dir/src/cpp/participant/Participant.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:90:CMakeFiles/microxrcedds_agent.dir/src/cpp/AgentInstance.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:104:CMakeFiles/microxrcedds_agent.dir/src/cpp/Root.cpp.o] 错误 1
gmake[5]: *** [CMakeFiles/microxrcedds_agent.dir/build.make:132:CMakeFiles/microxrcedds_agent.dir/src/cpp/client/ProxyClient.cpp.o] 错误 1
gmake[4]: *** [CMakeFiles/Makefile2:83:CMakeFiles/microxrcedds_agent.dir/all] 错误 2
gmake[3]: *** [Makefile:136:all] 错误 2
gmake[2]: *** [CMakeFiles/xrceagent.dir/build.make:86:agent/src/xrceagent-stamp/xrceagent-build] 错误 2
gmake[1]: *** [CMakeFiles/Makefile2:85:CMakeFiles/xrceagent.dir/all] 错误 2
gmake: *** [Makefile:91:all] 错误 2
-
-
有人帮帮我吗,我想使用源码micro_ros_agent
-
@twj0011001010
这个文档有,只不过是和micro-ros一起安装的,不知道是不是你要的,来源https://github.com/ZhaoXiangBox/esp32_ros2_robot,b站up@照样同学 -
@twj0011001010 记得指定分支版本和你系统的ros2版本匹配
-
@小鱼 解决了鱼哥,还是用的是你提供的源码,鱼哥yyds
-