Closed SteveLee123 closed 4 months ago
the title and the description you provide are two problems.
wget https://github.com/fmtlib/fmt/releases/download/10.1.1/fmt-10.1.1.zip
and make sure it's okay. then retry cmake build.I can wget this fmt-10.1.1.zip successfully.
but I still can not excuate this cmake -S . -B build -DCMAKE_BUILD_TYPE=Release this command successfully.
something I have to mention is that :
I have closed the conancenter's SSL Verify.
$ conan remote list
conancenter: https://center.conan.io [Verify SSL: False, Enabled: True]
because if I open this SSL Verify, I will run into an error at the beginning as below.
ERROR: Failed checking for binary 'fmt/10.1.1:cbdb02aa6358a51c3c1624a2b16892bd905a6a19' in remote 'conancenter': remote not available
ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)')))
Unable to connect to remote conancenter=https://center.conan.io
1. Make sure the remote is reachable or,
2. Disable it with 'conan remote disable <remote>' or,
3. Use the '-nr/--no-remote' argument
Then try again.
CMake Error at cmake/conan.cmake:174 (message):
Conan install failed='1'
Call Stack (most recent call first):
cmake/conan.cmake:212 (conan_install)
cmake/conan.cmake:230 (conan_setup)
CMakeLists.txt:57 (include)
Seems that is the same reason lead to them. certification stuff. so weird , because I can git clone by https and wget a file by https.
manually download package (in Chinese): https://blog.csdn.net/cyujust/article/details/136484628
When I execute this command: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
I'm running into this :
how can I fix that ?