-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
Micro-ros-agent does not seem to compile with fmt v9 #186
Comments
Not able to reproduce on a clean ROS 2 Humble Ubuntu 22.04 docker: https://asciinema.org/a/ScEwg9hddtPFHyc3Pb9FtAL4S Could you provide more details? |
Ok, sorry, I found out, I did it on two different machines but I had the installation of a custom library messing with fmt in the installation process including the micro-ros-agent. It was intalling the fmt v9 version with which the micro-ros-agent doesn't compile. So not micro-ros-agent issue. Sorry for that. |
You can force the Agent to use the installed version of the |
The option -DUAGENT_USE_SYSTEM_LOGGER=ON didn't work for me, but maybe I was not using it properly, I got lost at a certain point ^^. Anyway, I found two alternative solutions: a) switch to the snap version. b) Compile the agent before installing my custom library. :) Thank you all for the help |
On Ubuntu 22.04 LTS clean install
Repo clone in a ros2 workspace. Building through colcon build.
The compilation fails, lots of errors related to fmt and inability to format. It seems that something is not backward compatible with fmt. If I force the fmt version 8, it compiles. Unfortunately, the v8 is no available in apt packages, requiring a specific install just for micro ros agent.
EDIT: Ubuntu 22.04 is still in fmt v8 but it is fmt 8.32 which already fails compiling. v8.1.0 works.
The text was updated successfully, but these errors were encountered: