How does jetson nono update cmake to 3.18?

How does jetson nono update cmake to 3.18?

Check if cmake official website provides aarch64 version or download the cmake source and build it by yourself.

Thanks

I have this script for building cmake 3.19. Hope it helps.

#!/bin/sh

sudo apt install -y libssl-dev openssl1.0
# For building cmake-gui
sudo apt install -y qt5-default

wget -c --show-progress https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1.tar.gz
tar xvf cmake-3.19.1.tar.gz

mkdir cmake-3.19.1-build
cd cmake-3.19.1-build
cmake -DBUILD_QtDialog=ON -DQT_QMAKE_EXECUTABLE=/usr/lib/qt5/bin/qmake ../cmake-3.19.1

make -j $(nproc)
#make test
sudo make install
cmake --version
cd ..

[EDIT: a script for cmake-3.25.1 for L4T R35.1 can be found here.]

4 Likes

In the end I used the content in this link, which is also feasible after testing

1 Like

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