Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

Programming • trouble while building ros2 source

$
0
0
Hello debian,

We are using debian trixie os ,we are building the ros2 source from the https://wiki.debian.org/DebianScience/Robotics/ROS2 link.while building we are encountering some errors which are mentioned below

Code:

usr/include/rcpputils/rcpputils/filesystem_helper.hpp:303:40: error: no member named 'filesystem' in namespace 'std'  const path & parent_path = path(std::filesystem::temp_directory_path().generic_string()));                                  ~~~~~^/usr/include/rcpputils/rcpputils/filesystem_helper.hpp:319:23: error: no member named 'filesystem' in namespace 'std'RCPPUTILS_PUBLIC std::filesystem::path create_temporary_directory(                 ~~~~~^/usr/include/rcpputils/rcpputils/filesystem_helper.hpp:321:14: error: no member named 'filesystem' in namespace 'std'  const std::filesystem::path & parent_path = std::filesystem::temp_directory_path(),        ~~~~~^/usr/include/rcpputils/rcpputils/filesystem_helper.hpp:321:52: error: no member named 'filesystem' in namespace 'std'  const std::filesystem::path & parent_path = std::filesystem::temp_directory_path(),
i have done some web search regrading this erorr and i got to know that it is related to the gcc version,as we are using gcc14 in trixie the source code was demanding C++17 library(if am not wrong).For that reason i force fully did ,compiler to consider C++ 17 by this command
colcon build --symlink-install --cmake-args -DCMAKE_CXX_STANDARD=17
even i am getting same error.and we try to build source by clang compiler and there is no change ,as well as i installed the libc++17 package and compiled even i am facing same issue .

is it ok , build the bookworm source code in trixie ?am i in correct path?

Regards
Rajkumar.
Screenshot from 2024-10-01 17-07-38.png

Statistics: Posted by rajkumar — 2024-10-03 06:47 — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 3200

Trending Articles