C++ Easy Mode -- Getting Started with C++ (Using VCPKG)

Gamefromscratch August 11, 2020
Video Thumbnail
Gamefromscratch Logo

Gamefromscratch

@gamefromscratch

About

Gamefromscratch is the video channel of http://www.gamefromscratch.com. We cover all things game development related, with a focus on tutorials. Game engines, art tools, programming languages, you name it, we will cover it. After doing text based tutorials for several years we have started slowly making more video content. Keep your eyes on this channel for more and more content as time goes on. Of course, we create this stuff for you, so we would absolutely love to hear from you if there is something game development related that you would like to see covered! If you enjoy this videos and tutorials, please consider supporting GameFromScratch on Patreon: https://www.patreon.com/gamefromscratch Thanks!

Video Description

Full Text Step by Step Tutorial: https://gamefromscratch.com/vcpkg-cpp-easy-mode-step-by-step-tutorial/ Timeline: 0:01 Introduction and overview 1:07 Getting your compiler and other pieces installed 4:30 Installing VCPKG 8:08 Searching for and installing packages 11:44 Using a VCPKG in Visual Studio 15:18 Installing and configuring Visual Studio Code 18:57 Creating your Visual Studio Code based CMake project 20:30 Configuring Code to work with VCPKG 23:46 Creating your Run configuration 24:41 Compiling a Raylib project 25:50 A few more CMakeFiles.txt tweaks Getting started with C++ is always a challenge and the biggest challenge of all is often the build system. The minute you need to add a 3rd party library, that depends on 8 other libraries, new developers slam into a brick wall (as do experienced developers sometimes too!). In this video we look at a solution to this, vcpkg, a package manager with over 1300 packages. We will show how to use vcpkg to install and configure packages. After that we will show how to use them in Visual Studio, then do a full tutorial on getting Visual Studio Code set up and running for C++ development, from installing and adding extensions, to configuring CMake projects and integrating with vcpkg. By the end of this tutorial you should easily be able to avoid that wall 99% of the time!