当前位置:网站首页>cenos7安装cmake-3.22.2
cenos7安装cmake-3.22.2
2022-07-31 05:18:00 【weixin_39945506】
可通过如下地址下载cmake:
https://cmake.org/files/v3.22/
#移除原有
yum remove cmake
#解压
tar -zxvf cmake-3.22.2.tar.gz
cd cmake-3.22.2
#编译
./configure --prefix=/usr/local/cmake
#安装
make && make install
#链接
ln -s /usr/local/cmake/bin/cmake /usr/bin/cmake
cmake --version
在编译时报如下错误
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at Utilities/cmcurl/CMakeLists.txt:562 (message):
Could not find OpenSSL. Install an OpenSSL development package or
configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
执行下面命令,可解决:
yum -y install ncurses-devel
yum install openssl-devel
边栏推荐
- DSPE-PEG-Thiol DSPE-PEG-SH phospholipid-polyethylene glycol-thiol liposome for later use
- When solving background-size:cover, the picture is covered but not displayed completely?
- mobaxterm 编码问题解决
- 实现离线文件推流成rtsp 2
- Wangeditor rich text editor to upload pictures and solve cross-domain problems
- Log jar package conflict, and its solution
- a:自我介绍
- 安装显卡过程中遇到问题汇总
- TCP与UDP协议的区别,以及TCP的三次握手和四次挥手
- Incredibuild 宣布支持 Yocto
猜你喜欢
国际站卖家大促攻略,只需要做好这几件事
Cholesterol-PEG-NHS NHS-PEG-CLS 胆固醇-聚乙二醇-活性酯可修饰小分子材料
Picture-in-Picture API in the browser
Pytorch study notes 10 - detailed explanation of convolutional neural network and application of multi-classification task of mnist dataset
IDEA概述和安装及调试
Wangeditor rich text editor to upload pictures and solve cross-domain problems
Phospholipids-Polyethylene Glycol-Active Esters for Scientific Research DSPE-PEG-NHS CAS: 1445723-73-8
pyspark.ml feature transformation module
Cholesterol-PEG-DBCO Cholesterol-Polyethylene Glycol-Diphenylcyclooctyne Chemical Reagent
Cholesterol-PEG-Thiol CLS-PEG-SH 胆固醇-聚乙二醇-巯基
随机推荐
【Rhapsody学习笔记】3:Dishwasher
mPEG-DMPE Methoxy-polyethylene glycol-bismyristyl phosphatidylethanolamine for stealth liposome formation
When solving background-size:cover, the picture is covered but not displayed completely?
常见网络攻击与防御方法
【Latex】TexLive+VScode+SumatraPDF 配置LaTex编辑环境
超详细!!!让你了解冒泡排序的底层逻辑和思想
Phospholipids-Polyethylene Glycol-Active Esters for Scientific Research DSPE-PEG-NHS CAS: 1445723-73-8
CAS: 1403744-37-5 DSPE-PEG-FA Phospholipid-Polyethylene Glycol-Folic Acid for Scientific Research
测试CSDN积分需求
DSPE-PEG-Azide DSPE-PED-N3 Phospholipid-Polyethylene Glycol-Azide Lipid PFG
CAS:1403744-37-5 DSPE-PEG-FA 科研实验用磷脂-聚乙二醇-叶酸
MW: 3400 4-Arm PEG-DSPE four-arm-polyethylene glycol-phospholipid a saturated 18-carbon phospholipid
Webrtc从理论到实践二: 架构
科学研究用磷脂-聚乙二醇-活性酯 DSPE-PEG-NHS CAS:1445723-73-8
Unity Text一个简单的输入特效
mobaxterm 编码问题解决
Getting Started with MySQL: The Case Statement Works Well
Cholesterol-PEG-NHS NHS-PEG-CLS cholesterol-polyethylene glycol-active ester can modify small molecular materials
数据分析之SQL面试真题
【Rhapsody学习笔记】2:Count Down