Monday, July 30, 2012

Computer Science-CMake

Cmake is a cross platform build process that is both os and compiler independent. The releases can be found here.
http://cmake.org/cmake/resources/software.html
As of release 2.8.2 and above, up until at least release 2.8.8 there is an error when you try to update your version of cmake. The installer does not remove the system links if they previously exist and so fails to complete the installation to the command line. In order to fix this issue you have to remove the system links manually by doing
cd /usr/bin/
and then
sudo rm ccmake
sudo rm cmake
sudo rm cmake-gui
sudo rm cmakexbuild
sudo rm cpack
sudo rm ctest

Once this is done you will be able to reinstall cmake successfully to update your version. In a future version they will most likely automate this issue.

No comments:

Post a Comment