当前位置:网站首页>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
边栏推荐
- UR3机器人运动学分析之逆运动学分析
- pyspark.ml feature transformation module
- The solution to the IDEA console not being able to enter information
- pyspark.ml特征变换模块
- 钉钉企业内部-H5微应用开发
- Picture-in-Picture API in the browser
- Remote file xxx is mapped to the local path xxx and can‘t be found. You can continue debugging....
- 概率论相关笔记
- mPEG-DMPE Methoxy-polyethylene glycol-bismyristyl phosphatidylethanolamine for stealth liposome formation
- 【Rhapsody学习笔记】3:Dishwasher
猜你喜欢
TCP与UDP协议的区别,以及TCP的三次握手和四次挥手
滑动窗口法
DSPE-PEG-Thiol DSPE-PEG-SH phospholipid-polyethylene glycol-thiol liposome for later use
Unity加载GIf动画
CAS:1403744-37-5 DSPE-PEG-FA 科研实验用磷脂-聚乙二醇-叶酸
MySQL free installation download and configuration tutorial
C语言静态变量static
pyspark.ml特征变换模块
Learning and understanding of ROS service programming
十分钟教你玩转分支语句!!!!!小白速进,新手福利!!
随机推荐
Wlan实验(ENSP)
Virtual machine view port number process
数据分析之SQL面试真题
Picture-in-Picture API in the browser
DingTalk Enterprise Internal-H5 Micro Application Development
测试CSDN积分需求
box-shadow related properties
滑动窗口法
MySQL master-slave switching steps
Natural language processing related list
Shell/Vim related list
常见网络攻击与防御方法
mPEG-DSPE 178744-28-0 Methoxy-polyethylene glycol-phosphatidylethanolamine linear PEG phospholipids
十分钟教你玩转分支语句!!!!!小白速进,新手福利!!
Where can I find the private files set by myself?
The solution to the IDEA console not being able to enter information
Software Testing Interview Questions 2021
浏览器中的画中画(Picture-in-Picture)API
CLS-PEG-FITC Fluorescein-PEG-CLS 胆固醇-聚乙二醇-荧光素简介
解决nx安装 jtop问题