码迷,mamicode.com
首页 > 系统相关 > 详细

Installing cmake 2.8.8 or higher on Ubuntu 12.04 (Precise Pangolin) (转载)

时间:2016-05-20 11:40:41      阅读:298      评论:0      收藏:0      [点我收藏+]

标签:

转自:http://cameo54321.blogspot.com/2014/02/installing-cmake-288-or-higher-on.html

 

  1. Check the version of your Cmake using cmake --version
  2. If 2.8.7, Download the latest CMake version from the CMake web site 
  3. Uncompress it in a new folder
  4. Create a _build directory in the folder: mkdir _build
  5. From the _build directory, run the following commands to build and install CMake from sources:
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install  
sudo ldconfig

Installing cmake 2.8.8 or higher on Ubuntu 12.04 (Precise Pangolin) (转载)

标签:

原文地址:http://www.cnblogs.com/lance-ehf/p/5511165.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!