ubuntu16.04 upgrade Cmake version

In the process of running LSD to extract the thread feature, cmake reports an error, indicating that the cmake version is too low:

Download the high version of cmake, the blogger downloaded cmake-3.18.4 version, log in to cmake official website to download cmake-3.18.4.tar.gz .

unzip files:

tar xf cmake-3.18.4.tar.gz
cd cmake-3.18.4

./configure

make

sudo make install

sudo cmake --version

After execution, it prompts that no cmake file can be found, and then execute a link statement:

sudo ln -s /usr/local/bin/cmake /usr/bin

Then check that the cmake version is executed successfully:

 

Guess you like

Origin blog.csdn.net/neptune4751/article/details/108983212