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
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Dear ImGui in Unreal Engine 5 with C++
25:52
Kyle Geske
Рет қаралды 11 М.
Interactive 3D Earth with C++ and OpenFrameworks
34:07
Kyle Geske
Рет қаралды 3 М.
Autonomous Code Generation with ChatGPT and Python
29:44
Robert Cowher - DevOps, Python, AI
Рет қаралды 90
ImGui with Unreal Engine Follow-Up Fix
4:34
Kyle Geske
Рет қаралды 1,7 М.
Rails JSON APIs, Postman API Testing, and JBuilder
1:23:45
Kyle Geske
Рет қаралды 6 М.
Boost ASIO Networking with C++ and openFrameworks
16:30
Kyle Geske
Рет қаралды 109
So AGI is here and it's USELESS! - OpenAI o3
4:22
Pourya Kordi
Рет қаралды 28
Creating a VR Menu in Unreal Engine 5
28:30
Kyle Geske
Рет қаралды 1,4 М.
Connecting a Rails Project to a Remote GitHub Repository
10:57
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН