Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CMake和https_Https_Cmake - Fatal编程技术网

CMake和https

CMake和https,https,cmake,Https,Cmake,我将CMake从2.8升级到3.2。 它似乎起作用了,但从那以后我收到了错误消息 -- downloading... src='https://googletest.googlecode.com/files/gtest-1.7.0.zip' dst='... /build/gtest/src/gtest-1.7.0.zip' timeout='none' CMake Error at gtest-stamp/download-gtest.cmake:21 (mess

我将CMake从2.8升级到3.2。 它似乎起作用了,但从那以后我收到了错误消息

-- downloading...
     src='https://googletest.googlecode.com/files/gtest-1.7.0.zip'
     dst='... /build/gtest/src/gtest-1.7.0.zip'
     timeout='none'
CMake Error at gtest-stamp/download-gtest.cmake:21 (message):
  error: downloading
  'https://googletest.googlecode.com/files/gtest-1.7.0.zip' failed

    status_code: 1
    status_string: "Unsupported protocol"
    log: Protocol "https" not supported or disabled in libcurl

  Closing connection -1

当我将协议从https更改为http时,它运行正常。从受支持的协议中删除https的原因是什么?

或者您的curl不支持足够新的ssh,以至于google拒绝使用您的curl支持的任何过时/不安全的加密协议。@Marc B您可能是对的。我的系统说我有最新的卷发。我还按照中的说明重新安装了curl。然而,我的系统一直在说同样的错误。还有什么想法吗?或者你的curl不支持最新的ssh,以至于谷歌拒绝使用你的curl支持的任何过时/不安全的加密协议。@Marc B你可能是对的。我的系统说我有最新的卷发。我还按照中的说明重新安装了curl。然而,我的系统一直在说同样的错误。还有什么想法吗?