Open jakoblabs opened 1 year ago
Here is a quick update: even after I updated to cmake 3.26.4, when running in isaac_ros_base/example directory:
docker build -t isaac-ros-base/packages:latest -f Dockerfile.isaac .
It still throws the error:
Starting >>> isaac_ros_common Starting >>> isaac_ros_test --- stderr: isaac_ros_common CMake Error at CMakeLists.txt:9 (cmake_minimum_required): CMake 3.23.2 or higher is required. You are running version 3.16.3
Failed <<< isaac_ros_common [0.64s, exited with code 1]
I did look in CMakeLists.txt and it is requiring a version later than CMake3.23.2. However I do not understand why docker build still seems to have 3.16.3 in the shell environment, when I did update to 3.26.4
Thanks again for your help! Bob
I ended up adding this into 'Dockerfile.isaac' script to fix the issue.
RUN apt-get update && apt-get install --reinstall distro-info RUN apt install apt-utils
RUN pip install --upgrade --user setuptools==58.3.0
ENV CMAKE_VERSION 3.26.4
RUN wget "https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz" && \ tar -xzvf "cmake-${CMAKE_VERSION}.tar.gz" && \ cd "cmake-${CMAKE_VERSION}" && \ ./bootstrap && \ make && \ make install
RUN rm -f /usr/bin/cmake
RUN ln -s /usr/local/bin/cmake /usr/bin/cmake
Hi, Thankyou for putting together this repository for Docker! I am attempting to build for Orin Nano Development Kit. I have Jetpack 5.1.1 installed on Orin Nano. I start a build on Orin Nano using:
cd example docker build -t isaac-ros-base/packages:latest -f Dockerfile.isaac .\
The build continues, and then fails with:
_Starting >>> isaac_ros_common Starting >>> isaac_ros_test --- stderr: isaac_ros_common CMake Error at CMakeLists.txt:9 (cmake_minimum_required): CMake 3.23.2 or higher is required. You are running version 3.16.3
Failed <<< isaac_ros_common [0.61s, exited with code 1] Aborted <<< isaac_rostest [1.62s]
I am assuming CMake 3.16.3 is default shipping version with Jetpack 5.1.1?
I will simply update to the latest version of CMake. Is this the correct approach? Thanks for your help!