Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker on release jetpack 5.0.2 #40

Closed
automech-rb opened this issue Aug 22, 2022 · 5 comments
Closed

Docker on release jetpack 5.0.2 #40

automech-rb opened this issue Aug 22, 2022 · 5 comments
Assignees
Labels
verify to close Waiting on confirm issue is resolved

Comments

@automech-rb
Copy link

Hi,

When using prebuild docker image provided in this repo on jp5.0.2, building various packages (for eg. urg_node) leads to error shown below:

Failed to find exported target names in '/opt/ros/humble/install/share/urg_node_msgs/cmake/export_urg_node_msgs__rosidl_generator_cExport.cmake'

Also, as pointed in other issue, building image from start leads to following error:

E: Unable to locate package tensorrt
E: Unable to locate package vpi2-dev

Do you know any way to solve above?
Thanks

@swapnesh-wani-nvidia swapnesh-wani-nvidia self-assigned this Aug 22, 2022
@swapnesh-wani-nvidia swapnesh-wani-nvidia added the verify to close Waiting on confirm issue is resolved label Aug 22, 2022
@swapnesh-wani-nvidia
Copy link

Please have a look at this #39

Look for the existence of the Dockerfile.aarch64.humble.nav2 which references the pre-built image.

@automech-rb
Copy link
Author

automech-rb commented Aug 23, 2022

Hi,

I am able to use pre-built image but it leads to build error on many packages which were building successfully on jp 5.0.1
Here is one of the example:
use CONFIG_IMAGE_KEY=humble.nav2.realsense.urg
and content of urg image as:

ARG BASE_IMAGE
FROM ${BASE_IMAGE}

# Install URG node
RUN apt-get update && mkdir -p ${ROS_ROOT}/src && cd ${ROS_ROOT}/src \
    && git clone -b master https://github.com/ros-drivers/urg_node_msgs.git \
    && git clone -b ros2-devel https://github.com/ros-perception/laser_proc.git \
    && git clone -b ros2-devel https://github.com/ros-drivers/urg_c.git \
    && git clone -b ros2-devel https://github.com/ros-drivers/urg_node.git \
    && source ${ROS_ROOT}/setup.bash && cd ${ROS_ROOT} \
    && rosdep install -y -r --ignore-src --from-paths src --rosdistro ${ROS_DISTRO} \
    && colcon build --merge-install --parallel-workers 6 --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo --packages-up-to urg_node \
    && rm -Rf src logs build \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean

This leads to error

--- stderr: urg_node
CMake Error at /opt/ros/humble/install/share/urg_node_msgs/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
  Failed to find exported target names in
  '/opt/ros/humble/install/share/urg_node_msgs/cmake/export_urg_node_msgs__rosidl_generator_cExport.cmake'
Call Stack (most recent call first):
  /opt/ros/humble/install/share/urg_node_msgs/cmake/urg_node_msgsConfig.cmake:41 (include)
  CMakeLists.txt:29 (find_package)

And similar Failed to find exported target names in errors on other packages!

This same urg_node build is working on dustynv/ros:humble-ros-base-l4t-r35.1.0. I am not sure what is the problem with isaac docker image.

@automech-rb
Copy link
Author

automech-rb commented Aug 23, 2022

Found the issue. It is related to to this similar issue on dusty jetson containers.

@hemalshahNV
Copy link
Contributor

hemalshahNV commented Aug 23, 2022

Yes, we have run into this and had reverted to cmake 3.23 to get builds running again. That fix will be included along with updated prebuilt images in our upcoming release this month (August).

@hemalshahNV
Copy link
Contributor

This should be resolved in our latest release where cmake is downgraded to 3.23.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verify to close Waiting on confirm issue is resolved
Projects
None yet
Development

No branches or pull requests

3 participants