mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 09:07:47 +08:00
docker: added tegra path to LD_LIBRARY_PATH to images
This commit is contained in:
@@ -187,3 +187,6 @@ COPY ./docker/focal-foxy/deps/ros_entrypoint.sh /ros_entrypoint.sh
|
|||||||
RUN chmod +x /ros_entrypoint.sh
|
RUN chmod +x /ros_entrypoint.sh
|
||||||
ENTRYPOINT [ "/ros_entrypoint.sh" ]
|
ENTRYPOINT [ "/ros_entrypoint.sh" ]
|
||||||
|
|
||||||
|
# for jetson (https://github.com/introlab/rtabmap/issues/776)
|
||||||
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/tegra
|
||||||
|
|
||||||
|
|||||||
@@ -188,3 +188,5 @@ RUN source /ros_entrypoint.sh && \
|
|||||||
rm -rf rtabmap && \
|
rm -rf rtabmap && \
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
|
# for jetson (https://github.com/introlab/rtabmap/issues/776)
|
||||||
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/tegra
|
||||||
|
|||||||
@@ -99,3 +99,6 @@ ENTRYPOINT [ "/ros_entrypoint.sh" ]
|
|||||||
# ros2 seems not sourcing by default its multi-arch folders
|
# ros2 seems not sourcing by default its multi-arch folders
|
||||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib/aarch64-linux-gnu
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib/aarch64-linux-gnu
|
||||||
|
|
||||||
|
# for jetson (https://github.com/introlab/rtabmap/issues/776)
|
||||||
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/tegra
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user