小编rsc*_*rsc的帖子

如何在 centos 7 上链接 python3 以使用 openssl11/或最新版本的 openssl (1.1.1)

我们想在centos 7中升级OpenSSL但没有成功,原因可能是这样的。 通过 yum install openssl11 将 CentOS 7 升级到 OpenSSL 1.1.1

我开始知道 openssl11 是用于“现场”使用的。我们可以将 python / pyOpenssl 与 openssl11 链接起来吗?如果可以请给我流程

pyopenssl centos7

8
推荐指数
3
解决办法
1万
查看次数

g++:错误:无法识别“-std=c++17”(g++ 版本是什么以及如何安装)

我正在 RHEL 7.5 上工作并尝试编译 uWebSocket (此示例)代码。我克隆该项目并打开它。当我在 Makefile 上启动make时,出现此错误;

BroadcastingEchoServer uSockets/*.o -lz;
g++: error: unrecognized command line option '-std=c++17'
make: [examples] Error 1>
Run Code Online (Sandbox Code Playgroud)

主要问题是-std=c++17无法识别。我如何控制我拥有的 C++ 版本(最后是 17)以及如何安装所需的版本。

gcc --version
Run Code Online (Sandbox Code Playgroud)
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Run Code Online (Sandbox Code Playgroud)

谢谢

gcc rhel7 c++17

4
推荐指数
2
解决办法
4万
查看次数

标签 统计

c++17 ×1

centos7 ×1

gcc ×1

pyopenssl ×1

rhel7 ×1