How to install Third-Party Packages or Libraries for C/C++ using VCPKG

preview_player
Показать описание
By using VCPKG you can install Third-party Packages or Libraries for C/C++ in the easiest way

This method only works with Visual Studio

1. Download or Clone VCPKG Package from Github
2. Run the bootstrap-vcpkg Shell Script or Batch File
3. Open Command Prompt and type vcpkg
4. Type vcpkg install Package-Name
5. Type vcpkg install Package-Namex86-windows
6. Type vcpkg install Package-Name:x64-windows (if supported)
7. Type vcpkg integrate install
8. Run Visual Studio and now you can include the Package or Library you want

VCPKG Github repository

VCPKG Website
Рекомендации по теме
Комментарии
Автор

vcpkg is now available as component in vs installation, do u know how to use it?

DarshanMatal
Автор

greeting... when i do vcpkg install curl ... its ends up with this "error: in triplet x64-windows: Unable to find a valid Visual Studio instance
Could not locate a complete Visual Studio instance"
can you help me ?

korasukaro