isaac_ros_nvblox icon indicating copy to clipboard operation
isaac_ros_nvblox copied to clipboard

colcon build --symlink-install failed, missing vpi config file (inside docker)

Open SyedShayaan opened this issue 1 year ago • 1 comments

Hi there, I faced an error in step 6 of the isaac_ros_nvlox quickstart example. I am running on a jetson orin nano with jetpack 6.0.

This error was inside the docker container. I launched the container using:

cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
  ./scripts/run_dev.sh

error msg

admin@onano-1:/workspaces/isaac_ros-dev$ cd /workspaces/isaac_ros-dev && \
>   colcon build --symlink-install && \
>   source install/setup.bash
Starting >>> isaac_ros_common
Starting >>> isaac_ros_test
Starting >>> nvblox_msgs                                                            
Starting >>> nvblox_ros_common                                                                           
Starting >>> nvblox                                                                                          
Starting >>> nvblox_cpu_gpu_tools
--- stderr: isaac_ros_common                                                                                 
CMake Error at CMakeLists.txt:31 (find_package):
  By not providing "Findvpi.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "vpi", but
  CMake did not find one.

  Could not find a package configuration file provided by "vpi" with any of
  the following names:

    vpiConfig.cmake
    vpi-config.cmake

  Add the installation prefix of "vpi" to CMAKE_PREFIX_PATH or set "vpi_DIR"
  to a directory containing one of the above files.  If "vpi" provides a
  separate development package or SDK, be sure it has been installed.


---
Failed   <<< isaac_ros_common [2.79s, exited with code 1]
Aborted  <<< nvblox [2.69s]                                                                         
Aborted  <<< nvblox_ros_common [2.92s]                                                              
Aborted  <<< nvblox_msgs [3.85s]                                                                    
Aborted  <<< nvblox_cpu_gpu_tools [3.74s]                                                          
Aborted  <<< isaac_ros_test [4.15s]

Summary: 0 packages finished [9.43s]
  1 package failed: isaac_ros_common
  5 packages aborted: isaac_ros_test nvblox nvblox_cpu_gpu_tools nvblox_msgs nvblox_ros_common
  2 packages had stderr output: isaac_ros_common nvblox
  24 packages not processed

what I have tried

sudo apt install libnvvpi2
sudo apt install vpi2-dev

(both were already installed inside the container)

my hunch

Forum says isaac ros is not supported in jetpack 6.0 (link) However, the jetpack 6.0 release docs says otherwise (link), image

SyedShayaan avatar Jan 24 '24 20:01 SyedShayaan

Hi @SyedShayaan - yes, you are right that at the time of writing, the most recent Isaac ROS 2.1 release is not compatible with the JetPack 6.0 Developer Preview. For now, please flash JetPack 5.1.2 on your Jetson to continue using the Isaac ROS 2.1 release.

We'll follow up with the JetPack documentation team to clear up any confusion.

jaiveersinghNV avatar Jan 29 '24 22:01 jaiveersinghNV