The solution to the slow speed of vcpkg installation library. (Manual download is still very slow solution)

vcpkg is often used by us to install certain library files of C++. For example, if I want to install the ceres library, I enter the vcpkg.exe folder and enter the command

.\vcpkg.exe install ceres:x64-windows

Next, you need to wait patiently for the installation to complete, but the speed will be very slow during the installation process, then the solution is: check the URL that needs to be downloaded-copy the URL to the browser to download-put the file in the downloads folder ——Change the name to the name of the download (see the name under the temp folder for details). The following specific operation pictures
First observe the URL to be downloaded.
The red lined part is the required URL
Next, copy it to the browser for download.
Insert picture description here
Copy it to the downloads folder.
Insert picture description here
Observe the name and change the name of the copied file.
Insert picture description here
Then the above solution is instantaneous. I think other bloggers also use it. Basically it is this way, which is to download manually. The following two blogs are for reference.
Use the command window to download and download
manually.
The first blog means to download the package first, and compile it. In fact, it is the same as manually downloading from the browser. They are all downloaded first and compiled. In fact, there is another problem. I went to download it manually. What should I do if the browser is still very slow? So for now. There is no good solution. I saw someone encountering the same problem as me in foreign forums. The answer is as follows: As
Insert picture description here
Insert picture description here
you can see from the description, there is no way to speed up the download. Most of the suggestions are to download first, and then compile. . It is similar to the first reference blog above.

Guess you like

Origin blog.csdn.net/qq_41803340/article/details/108275826