71

Centos 6.9 编译安装cmake 3.10.2-金色之谜-51CTO博客

 6 years ago
source link: http://blog.51cto.com/191226139/2066186
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.去官网下载cmake源码包https://cmake.org/cmake最新版本3.10.2需要c++11支持,gcc4.8以下并未包含,因此,需要准备好新版本的gcc.gcc编译请参考cmake-3.9.6版本,此版本并不需要C++112.检查环境变量PATH=/usr/local/gcc-4.8.5/bin:$PATH3.检查动态库#cat/etc/ld.so.conf.d/gcc4.8.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK