vcpkg.exe installation and application

1. Download vcpkg.exe

https://github.com/microsoft/vcpkg/releases


2. extract it to the following directory

E: \ OSG \ vcpkg-2019.12


3. Compile

Open the "x64 Native Tools Command Prompt for vs2019", execution

image

cd E:\osg\vcpkg-2019.12

bootstrap-vcpkg.bat


4. E: \ osg \ vcpkg-2019.12 was added to the environment variable

image


5. Find related libraries

vcpkg.exe search zlib

image


6. Install the library

.\vcpkg.exe install zlib:x64-windows

Guess you like

Origin www.cnblogs.com/gispathfinder/p/12221680.html