TroubleChute Logo
VIDEOS

vcpkg Crash Course | C++ libraries simplified! A Visual Studio must-have!


Published: May 5, 2020
Last Edit: May 5, 2020
242 Words, 1 Minute.

Watch the video:


Timestamps:
0:00 - Explanation
0:31 - Requirements
0:52 - Checking if git is installed
1:05 - What is vcpkg?
2:12 - Clone vcpkg GitHub repo
2:51 - Installing/integrating vcpkg
4:18 - Command reference
4:37 - Checking if a package is available
5:03 - Downloading & building a package
5:22 - Downloading x64 and x32 [Multiple versions]
6:42 - Fixing slow/stopped downloads in the first run.
8:04 - Where ALL packages are saved
8:38 - Finding separate packages
9:19 - Why this program is so useful
9:42 - Building Boost And Boost x64 [Example]
10:23 - Building with extras
11:43 - What lots of packages look like
12:15 - Minor search tip
12:56 - Updating packages
13:53 - Removing a package
14:59 - Setting default x64 or x32
15:58 - Uninstalling/removing integration of vcpkg
16:26 - Using packages in a project
17:28 - Integration for projects, not global
19:14 - Moving vcpkg
19:50 - Complete uninstall vcpkg

What is Microsoft’s vcpkg, and how do you use it in your C++ workflow? Well, this crash course tells you everything you need to know to start using it now, as well as many little tips and tricks that you might find useful later on. If you’re confused about anything, this video should clear it up. With timestamps, you won’t waste your time.

Downloads:
Visual Studio: https://visualstudio.microsoft.com/
Microsoft’s vcpkg: https://github.com/Microsoft/vcpkg

Other links:
Command reference: https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-2019

Commands:
.\bootstrap-vcpkg.bat
.\vcpkg integrate install

Default x64/x32:
Name: VCPKG_DEFAULT_TRIPLET
Value: x64-windows

TroubleChute © Wesley Pyburn (TroubleChute)
Support Me Privacy Policy Cookies Policy Terms of Service Change privacy settings Contact