首页 > 系统服务 > 详细

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

时间:2016-05-20 11:38:42      阅读:213      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!