ivder
March 15, 2019, 1:37am
1
I have to run program that requires minimum CMake 3.8 . Unfortunately using
sudo apt-get install cmake
will only install CMake 3.5
I tried to follow this steps that works very well in my another computer How to upgrade cmake in Ubuntu - Ask Ubuntu . But doesn’t work in Jetson TX2. Is there any way to install the latest version of CMake from Download | CMake ?
Looks like there’s no any install package for ARM arch. You may need to download the source to build it manually.
ivder
March 15, 2019, 3:00am
3
Thanks for the confirmation, I followed steps to install CMake from source from this site : How to upgrade cmake in Ubuntu - Ask Ubuntu (accepted answer)
It works well with my PC, but doesn’t work in Jetson. When I type cmake --version
it said it couldn’t find the cmake. Does Jetson requires different step from usual ubuntu to install cmake?
That comment is run the install package for x86 not for ARM.
VickNV
March 15, 2019, 5:28am
5
Hi ivandi5hj8,
Our next release (soon) is with ubuntu 18.04 on which you can install 3.10.2 via apt-get.
@ivandi5hj8
You should be able to download the source from below and build it on tegra.
un-tar it.
./config # You may need install g++ and perl by apt-get install
sudo make install
https://cmake.org/files/v3.8/cmake-3.8.2.tar.gz
3 Likes
ivder
March 18, 2019, 1:23am
7
Thanks a lot, solved my problem