Closed bhomaidan1990 closed 4 months ago
I'm using Ubuntu 22.04, ROS humble, cmake version 3.28.3, GCC 12.3.0, when compiling isaac_ros_nitros I get this error:
isaac_ros_nitros
/home/belal/git/isaac_ws/src/isaac_ros_nitros/isaac_ros_nitros/src/nitros_publisher_subscriber_group.cpp:772:33: note: use non-reference type ‘const std::pair<std::array<unsigned char, 24>, std::vector<std::__cxx11::basic_string<char> > >’ to make the copy explicit or ‘const std::pair<const std::array<unsigned char, 24>, std::vector<std::__cxx11::basic_string<char> > >&’ to prevent copying /usr/bin/ld:/home/belal/git/isaac_ws/install/isaac_ros_gxf/share/isaac_ros_gxf/gxf/lib/core/libgxf_core.so: file format not recognized; treating as linker script /usr/bin/ld:/home/belal/git/isaac_ws/install/isaac_ros_gxf/share/isaac_ros_gxf/gxf/lib/core/libgxf_core.so:1: syntax error collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/isaac_ros_nitros.dir/build.make:360: libisaac_ros_nitros.so] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/isaac_ros_nitros.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 --- Failed <<< isaac_ros_nitros [1min 45s, exited with code 2]
$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Tue_Jun_13_19:16:58_PDT_2023 Cuda compilation tools, release 12.2, V12.2.91 Build cuda_12.2.r12.2/compiler.32965470_0
Solution from here
sudo apt install git-lfs git-lfs pull
I'm using Ubuntu 22.04, ROS humble, cmake version 3.28.3, GCC 12.3.0, when compiling
isaac_ros_nitros
I get this error: