C++ Dependencies in Visual Studio with vcpkg

  Рет қаралды 3,114

Kyle Geske

Kyle Geske

Күн бұрын

Пікірлер: 11
@stungeye
@stungeye 7 ай бұрын
tl;dr: 1) Create Visual Studio C++ project. 2) From VS terminal run `vcpkg integrate install` 3) Open project properties and enable "Use Vcpkg Manifest" 4) Initialize project from the VS terminal `vcpkg new --application` 5) Add dependencies from terminal. Ex: `vcpkg add port fmt` 6) Build and run project 7) Restart Visual Studio to remove squiggly red underlines 8) If you are using git, remember to add the vcpkg_installed folder to your .gitignore file.
@ozu7779
@ozu7779 3 ай бұрын
if you dont see Vcpkg section on your settings, make sure restart after the vckg integrate install command. ur welcome!
@kaboomjones
@kaboomjones 2 ай бұрын
excellent video! thank you very much, as someone who has always seen libraries and dependencies in C++ as a massive pain. found vcpkg, then I found this tutorial, I hope to try it out soon.
@Mustlight
@Mustlight 3 ай бұрын
Great tutorial. Thanks a lot.
@徐聖旂
@徐聖旂 2 ай бұрын
Great tutorial! If I want to share the project using github, is installing vcpkg the only step that needs to be run before openning the cloned solution file and build on another machine? Do you need to run vcpkg integrate install or vcpkg new again ?
@stungeye
@stungeye 2 ай бұрын
You won't need to run "vcpkg new" again on the other machine, but you may have to run "vcpkg integrate install" if it hasn't been run once before on that machine.
@lucdina5118
@lucdina5118 5 ай бұрын
Now I have a question, can we get a tut with cmake please 🙏? I have a hard time with finding packages inside cmake configuration.
@stungeye
@stungeye 5 ай бұрын
@@lucdina5118 Like an intro to cmake with 3rd party libraries.
@lucdina5118
@lucdina5118 5 ай бұрын
@@stungeye yes it will be great
@user-rc5xf3bk4y
@user-rc5xf3bk4y 3 ай бұрын
I was able to remove the squiggly red underlines without restarting VS by pressing a right-click in a file --> Rescan --> Rescan Solution.
@stungeye
@stungeye 3 ай бұрын
@@user-rc5xf3bk4y Cool! Thanks for sharing this trick.
Getting Started with SDL2 C++ in Visual Studio using vcpkg
30:59
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Creating a VR Menu in Unreal Engine 5
28:30
Kyle Geske
Рет қаралды 1,4 М.
Dear ImGui in Unreal Engine 5 with C++
25:52
Kyle Geske
Рет қаралды 11 М.
Rails JSON APIs, Postman API Testing, and JBuilder
1:23:45
Kyle Geske
Рет қаралды 6 М.
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 67 МЛН
Interactive 3D Earth with C++ and OpenFrameworks
34:07
Kyle Geske
Рет қаралды 3 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН