NVIDIA-ISAAC-ROS / isaac_ros_image_pipeline

NVIDIA-accelerated ROS2 packages for camera image processing.
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
112 stars 19 forks source link

Build errors due to YamlCPP #34

Closed nakai-omer closed 10 months ago

nakai-omer commented 1 year ago

Hello,

Getting the following error during build:

/usr/bin/ld: /home/amram/development/nakai/packages/nakai-onboard/install/isaac_ros_stereo_image_proc/lib/libyaml-cpp.a(scanscalar.cpp.o): warning: relocation against `_ZZN4YAML3Exp5BlankEvE1e' in read-only section `.text'
/usr/bin/ld: /home/amram/development/nakai/packages/nakai-onboard/install/isaac_ros_stereo_image_proc/lib/libyaml-cpp.a(convert.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTIN4YAML11InvalidNodeE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
jaiveersinghNV commented 11 months ago

Could you try clearing your build/ and install/ directories in the ROS workspace, and then rebuild?

It looks like you aren't using the Isaac ROS Docker container provided with accompanying development scripts in the Isaac ROS Common repository. This Docker container bundles together all of the necessary dependencies for getting Isaac ROS and ROS 2 working on x86 and Jetson platforms, including libyaml-cpp-dev.

nakai-omer commented 10 months ago

Sorry for late reply @jaiveersinghNV, I am using the docker image by dustynv: dustynv/ros:humble-ros-base-l4t-r35.3.1 Taken from: https://github.com/dusty-nv/jetson-containers/