Now that the installation is complete, the installation of cmake is relatively simple, the following are the problems encountered during the installation process: Ln -s /usr/local/bin/cmake /usr/bin/cmake If you have installed yum locally, you need to uninstall it yum remove cmake I also tried installing CMake through default Ubuntu repositories and also through PPA but none of them gave me the latest version. Run ls -l /usr/lib//GL, and that should include some entries with nvidia in the name, and including libEGL.so.1.If you are using recent Ubuntu, the folder is probably /usr/lib/nvidia-XXX where XXX is your nvidia driver version. If you prefer the command line over the UI, here is the method you will need to follow in order to install the latest version of CMake. The libraries you listed there are from mesa and/or other packages, not from the nvidia driver.
View the compiled version: ln -s /usr/local/bin/cmake /usr/bin/cmake Install CMake through the Ubuntu Command Line. Generally, there will be no problems when the gcc environment and libstdc++.so.6 are okay. CMake System: CentOS- Found LibXml2: /usr/lib64/libxml2.so (found version '2.9.1') Set libyang plugin installation directory to: lib/libyang- Found Doxygen: /usr/bin/doxygen (found version '1.8. The compilation process is as follows: wget -c Ĭmake is relatively simple to compile.
It is recommended to compile the downloaded source code (download the binary file, although it can be executed, but you don’t know what dynamic link library will report an error, and it is difficult to solve a problem) Official website transmission: Download the latest cmake The default cmake version on Centos7 is version 2.8.11, which is a relatively low version, so we need to upgrade cmake When we are doing some applications, the compilation error is reported that the cmake version is too low.