当前位置:网站首页>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
边栏推荐
- 英语学习笔记
- 2021年开发人员的绊脚石:构建时间长
- 力扣.字母异位词分组
- [Solved] ssh connection report: Bad owner or permissions on C:\\Users/XXX/.ssh/config
- 超详细!!!让你通透数组!!!初学复习不迷路!!
- pyspark.ml feature transformation module
- Embedding cutting-edge understanding
- Wangeditor rich text editor to upload pictures and solve cross-domain problems
- ROS subscription to multiple topics time synchronization problem
- C语言数组的深度分析
猜你喜欢

滑动窗口法

四种常见的POST提交数据方式

DSPE-PEG-COOH CAS:1403744-37-5 磷脂-聚乙二醇-羧基脂质PEG共轭物

C语言数组的深度分析

Chemical Reagent Phospholipid-Polyethylene Glycol-Amino, DSPE-PEG-amine, CAS: 474922-26-4

Cholesterol-PEG-Amine CLS-PEG-NH2 Cholesterol-Polyethylene Glycol-Amino Research Use

在 AWS 上从零开始设置 Incredibuild 构建系统

ImportError: cannot import name 'Xxxx' from partially initialized module 'xx.xx.xx'

Cholesterol-PEG-Thiol CLS-PEG-SH 胆固醇-聚乙二醇-巯基

CAS:1403744-37-5 DSPE-PEG-FA 科研实验用磷脂-聚乙二醇-叶酸
随机推荐
Detailed explanation of mysql transaction principle
Remote file xxx is mapped to the local path xxx and can't be found. You can continue debugging....
数据分析之SQL面试真题
Unity转微信小游戏与JS交互
Picture-in-Picture API in the browser
CAS:1403744-37-5 DSPE-PEG-FA 科研实验用磷脂-聚乙二醇-叶酸
能否更上一层楼?探究 CMake 争论
Research reagents Cholesterol-PEG-Maleimide, CLS-PEG-MAL, Cholesterol-PEG-Maleimide
浏览器中的画中画(Picture-in-Picture)API
911崩了,自养号测评环境IP有哪些更好的选择
链表理论基础
Image binarization processing of opencv
Cholesterol-PEG-Thiol CLS-PEG-SH 胆固醇-聚乙二醇-巯基
Tensorflow related list
可下载视频可下载图片的函数
DSPE-PEG-Thiol DSPE-PEG-SH phospholipid-polyethylene glycol-thiol liposome for later use
Webrtc从理论到实践三:角色
Solution for MySQL The table is full
Unity软件中UGUI和NGUI的多语言开发
map和set