Ste*_*eve 3 c++ boost cmake bintray cmake-hunter
我正在尝试使用 cmake 进行编译并注意到 boost 二进制链接不可用(禁止)。有解决方法吗?
[ 25%] Performing download step (download, verify and extract) for 'Boost'
-- verifying file...
file='/home/op/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z'
-- SHA1 hash of
/home/op/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z
does not match expected value
expected: '075d0b43980614054b1f1bafd189f863bba6600e'
actual: 'da39a3ee5e6b4b0d3255bfef95601890afd80709'
-- File already exists but hash mismatch. Removing...
-- Downloading...
dst='/home/op/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z'
timeout='none'
-- Using src='https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z'
-- Retrying...
-- Using src='https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z'
-- Retry after 15 seconds (attempt #4) ...
Run Code Online (Sandbox Code Playgroud)
相关配置:
hunter_config(CURL VERSION ${HUNTER_CURL_VERSION} CMAKE_ARGS HTTP_ONLY=ON CMAKE_USE_OPENSSL=OFF CMAKE_USE_LIBSSH2=OFF CURL_CA_PATH=none)
hunter_config(Boost VERSION 1.66.0)
Run Code Online (Sandbox Code Playgroud)
Iko*_*sse 10
为我解决此问题的解决方法是从https://www.boost.org/手动下载 boost_1_66_0.7z并将其放在 $HOME/.hunter/_Base/Download/Boost/1.66.0/075d0b4/ 下
Bintray 于 2021 年 5 月 1 日停止服务¹:
https://lists.boost.org/Archives/boost/2021/02/250813.php
感谢您通过使用 Bintray 支持 JFrog。我们现在并将继续成为一家以社区为中心的公司,本着透明的精神,我们提前通知您,从 2021 年 5 月起,我们将淘汰 Bintray。
现在可以在此处下载 Boost:
https://lists.boost.org/Archives/boost//2021/04/251468.php
Bintray 是 5 月 1 日的“日落”。届时,您将无法从那里下载 boost 版本。在此之前,他们的服务偶尔会中断。网站已经更新,所有下载链接现在参考 https://boostorg.jfrog.io/artifactory/main/release/ 示例:而不是从:https ://dl.bintray.com/boostorg/release 下载 /1.76.0/source/boost_1_76_0.tar.gz
您应该从以下位置下载:https : //boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
这适用于 1.63.0 以后的所有版本(1.63 之前的版本仍托管在 SourceForge)
| 归档时间: |
|
| 查看次数: |
1326 次 |
| 最近记录: |