You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using Ubuntu 20.04 and Ros noetic, i tried to build the depthai-ros for noetic but get an error failing to build, here are the details:
_______________________________________________________________________________
Errors << depthai_bridge:make /home/kiira/catkin_ws/logs/depthai_bridge/build.make.000.log
/usr/bin/ld: /opt/ros/noetic/lib/x86_64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(spdlog.cpp.o): relocation R_X86_64_TPOFF32 against `_ZGVZN6spdlog7details2os9thread_idEvE3tid' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /opt/ros/noetic/lib/x86_64-linux-gnu/libdepthai-core.a(CalibrationHandler.cpp.o): relocation R_X86_64_PC32 against symbol `_ZGVZN3dai7Logging11getInstanceEvE7logging' 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
make[2]: *** [CMakeFiles/depthai_bridge.dir/build.make:284: /home/kiira/catkin_ws/devel/.private/depthai_bridge/lib/libdepthai_bridge.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/depthai_bridge.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/kiira/catkin_ws/build/depthai_bridge; catkin build --get-env depthai_bridge | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
...............................................................................
Failed << depthai_bridge:make [ Exited with code 2 ]
Failed <<< depthai_bridge [ 43.4 seconds ]
Abandoned <<< depthai-ros [ Unrelated job failed ]
Abandoned <<< depthai_examples [ Unrelated job failed ]
Abandoned <<< depthai_ros_driver [ Unrelated job failed ]
Abandoned <<< viso2 [ Unrelated job failed ]
_____________________
i tried the solutions in the issue section but didn't success.
The text was updated successfully, but these errors were encountered:
ChehabiMed
changed the title
[BUG] { error failing to build the package for ROS noetic}
[BUG] error failing to build the package for ROS noetic
Jun 21, 2024
Describe the bug
I'm using Ubuntu 20.04 and Ros noetic, i tried to build the depthai-ros for noetic but get an error failing to build, here are the details:
i tried the solutions in the issue section but didn't success.
The text was updated successfully, but these errors were encountered: