ethz-asl / nvblox_ros1

ROS1 wrappers for GPU-acceleration volumetric mapping with nvblox.
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
65 stars 16 forks source link

nvblox_ros package fails to build #16

Open maximecapelle opened 7 months ago

maximecapelle commented 7 months ago

Every time I run catkin build, the package fails to build with the following error:

Errors << nvblox_ros:cmake /home/maximecapelle/nvblox_ws/logs/nvblox_ros/build.cmake.002.log CMake Warning (dev) at /opt/ros/noetic/share/catkin/cmake/python.cmake:4 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/all.cmake:164 (include) /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:20 (include) CMakeLists.txt:39 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Warning (dev) at /usr/src/googletest/googletest/cmake/internal_utils.cmake:249 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): /usr/src/googletest/googletest/CMakeLists.txt:91 (include) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:87 (include_directories): include_directories given empty-string as include directory.

Rescanning for nvblox CMake Warning at CMakeLists.txt:147 (message): No nvblox found!

cd /home/maximecapelle/nvblox_ws/build/nvblox_ros; catkin build --get-env nvblox_ros | catkin env -si /home/maximecapelle/.local/bin/cmake /home/maximecapelle/nvblox_ws/src/nvblox_ros1/nvblox_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/maximecapelle/nvblox_ws/devel/.private/nvblox_ros -DCMAKE_INSTALL_PREFIX=/home/maximecapelle/nvblox_ws/install -DCMAKE_BUILD_TYPE=Release; cd -

............................................................................... Failed << nvblox_ros:cmake [ Exited with code 1 ]
Failed <<< nvblox_ros [ 0.8 seconds ]

aatishg01 commented 7 months ago

I am having the exact same issue

aatishg01 commented 7 months ago

Please fix I have spent hours debugging