Closed winnerineast closed 3 years ago
There appears to be a linking issue with libyaml-cpp
on your platform and possibly std::filesystem
as well. Without having access to an nvidia jetson xavier nx, it will be quite difficult for us to identify why those linking issues exist. You'll need to check how libyaml-cpp
is installed and whether its cmake config-file (or find-module) on your system is correctly importing its targets.
For your reference, the config-file for libyaml-cpp on my platform is located at
/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/yaml-cpp-config.cmake
Hi @winnerineast I have a Xavier NX lying around and I tried to compile rmf, here are my findings:
libyamlcpp-dev
package available in the repositories is out of date. I actually had compile errors like ‘class YAML::Node’ has no member named ‘Mark’
. I managed to fix that by manually upgrading libyamlcpp-dev and libyaml-cpp to the version on focal (i.e. downloading the .deb packages from here and installing them through dpkg -i
). This is not quite an ideal solution but it seems to work, until they upgrade to Ubuntu 20.04.std::filesystem
. It seems g++8 is not linking properly, I installed g++9 through these instructions and that got rid of the linking issue as well.Basically it seems most of the issues arise from the ecosystem being stuck to Ubuntu 18.04 and should be solved once they provide Ubuntu 20.04 images (or if you wanted you could just upgrade manually).
Since the issue is understood and needs to be corrected on the platform rather than in any RMF package, I'm going to close this ticket.
Describe the bug When I build rmf_core on nvidia jetson xavier nx and hit some build error on rmf_traffic_ros2.
Workspace information:
rmf_demos
branch or commit hash: NArmf_core
branch or commit hash: masterrmf_schedule_visualizaer
branch or commit hash: NAtraffic_editor
branch or commit hash: NASteps to Reproduce
Expected behavior I expect the build successfully.
Actual behavior
I expect the build successfully but the output error as below:
Screenshots NA.
Additional context NA.