ISAAC ROS from source

Im trying to build ROS from source so i created a workspace and cloned in the src directory the folllowing packages: isaac_ros_common, isaac_ros_nvblox, isaac_ros_visual_slam.

when i try to run colcon build, the packages fail to build would anyone know what this error means?

airbud@airbud-desktop:~/workspaces/isaac_ros_ws$ colcon build --symlink-install
Starting >>> isaac_ros_common
Starting >>> nvblox_msgs                        
Starting >>> isaac_ros_test                                     
Starting >>> nvblox_ros_common                                  
Starting >>> nvblox                                              
Starting >>> nvblox_cpu_gpu_tools                                
Starting >>> nvblox_performance_measurement_msgs                 
Starting >>> network_performance_measurement                     
Finished <<< network_performance_measurement [9.96s]                        
Starting >>> nvblox_examples_bringup
--- stderr: nvblox                                                          
CMake Warning (dev) at /opt/cmake/share/cmake-3.28/Modules/ExternalProject.cmake:3195 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /opt/cmake/share/cmake-3.28/Modules/ExternalProject.cmake:4418 (_ep_add_download_command)
  thirdparty/eigen/eigen.cmake:3 (ExternalProject_Add)
  CMakeLists.txt:38 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:46 (find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/FindGlog.cmake:103 (message):
  Failed to find glog - Could not find glog include directory, set
  GLOG_INCLUDE_DIR to directory containing glog/logging.h
Call Stack (most recent call first):
  cmake/FindGlog.cmake:301 (glog_report_not_found)
  CMakeLists.txt:89 (find_package)


---
Failed   <<< nvblox [13.3s, exited with code 1]
Aborted  <<< nvblox_examples_bringup [1.59s]
Aborted  <<< isaac_ros_common [18.1s]             
Aborted  <<< nvblox_cpu_gpu_tools [16.3s]         
Aborted  <<< isaac_ros_test [18.5s]               
Aborted  <<< nvblox_ros_common [18.9s]            
Aborted  <<< nvblox_msgs [21.1s]                  
Aborted  <<< nvblox_performance_measurement_msgs [20.6s]

Summary: 1 package finished [31.9s]
  1 package failed: nvblox
  7 packages aborted: isaac_ros_common isaac_ros_test nvblox_cpu_gpu_tools nvblox_examples_bringup nvblox_msgs nvblox_performance_measurement_msgs nvblox_ros_common
  1 package had stderr output: nvblox
  19 packages not processed

To better assist you, how did you set up your environment?

An example to compile from source these packages can be:

From host

cd ${ISAAC_ROS_WS}/src
git clone https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git
git clone --recurse-submodules https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox.git && \
    cd isaac_ros_nvblox && git lfs pull
git clone https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam.git

Launching docker:

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

From docker

cd /workspaces/isaac_ros-dev/ && \
    rosdep install -i -r --from-paths src --rosdistro humble -y --skip-keys "libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv nvblox"
colcon build --symlink-install

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.