Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$ ./bootstrap-vcpkg.sh
Downloading vcpkg-glibc...
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104
针对上述问题,网上给出了如下解决办法:
git config --global http.sslVerify "false"
git config --global http.postBuffer 54288000
git config --global core.compression 0
以及,
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
配置后显示如下:
Sun@ubuntu-vm:~/.vcpkg-clion/vcpkg$ git config --global --list
http.sslverify=false
http.postbuffer=54288000
http.proxy=http://127.0.0.1:7890
https.proxy=https://127.0.0.1:7890
core.compression=0
vcpkg 库创建命令:
huawei@ubuntu:~$ cd ~/.vcpkg-clion/
huawei@ubuntu:~/.vcpkg-clion$ git clone https://github.com/microsoft/vcpkg.git
huawei@ubuntu:~/.vcpkg-clion$ cd vcpkg/
huadun@ubuntu:~/.vcpkg-clion/vcpkg$ ./bootstrap-vcpkg.sh
huadun@ubuntu:~/.vcpkg-clion/vcpkg$ git pull
3673

被折叠的 条评论
为什么被折叠?



