gpt4 book ai didi

c++ - 使用 Conan 安装 boost 时出现身份验证错误

转载 作者:行者123 更新时间:2023-12-01 23:57:56 24 4
gpt4 key购买 nike

我正在尝试使用以下 conanfile.txt 文件安装 boost:

[requires]
cryptopp/8.2.0@bincrafters/stable
boost/1.64.0@conan/stable
gtest/1.8.1@bincrafters/stable
log4cplus/2.0.4@bincrafters/stable
OpenSSL/1.1.1@conan/stable
zlib/1.2.11@conan/stable
bzip2/1.0.8@conan/stable
lz4/1.8.0@bincrafters/stable
snappy/1.1.7@bincrafters/stable
zstd/1.4.0@bincrafters/stable

[generators]
cmake

[options]
OpenSSL:shared=True
boost:without_atomic=True
boost:without_wave=True
boost:without_container=True
boost:without_exception=True
boost:without_graph=True
boost:without_iostreams=True
boost:without_locale=True
boost:without_program_options=True
boost:without_random=True
boost:without_regex=True
boost:without_serialization=True
boost:without_coroutine=True
boost:without_fiber=True
boost:without_context=True
boost:without_timer=True
boost:without_thread=True
boost:without_chrono=True
boost:without_date_time=True
boost:without_log=True
boost:without_math=True
boost:without_type_erasure=True
boost:without_graph_parallel=True
boost:without_test=True
boost:without_mpi=True
boost:without_context=True

[imports]
bin, *.dll -> ./lib # Copies all dll files from packages bin folder to my "lib" folder
lib, *.dylib* -> ./lib # Copies all dylib files from packages lib folder to my "lib" folder
lib, *.so* -> ./lib # Copies all dylib files from packages lib folder to my "lib" folder

但由于某种原因,我收到以下错误:

ERROR: boost/1.64.0@conan/stable: Error in source() method, line 70 tools.get(url, sha256=sha256) AuthenticationException: Forbidden!

对我来说奇怪的是它直到昨天才起作用......我将非常感谢任何帮助。谢谢!

最佳答案

目前似乎无法使用 boost 源。请参阅问题: https://github.com/conan-io/conan-center-index/issues/1007

关于c++ - 使用 Conan 安装 boost 时出现身份验证错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60477447/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com