Тёмный

vcpkg Crash Course | Visual Studio 2022 | C++ libraries simplified! 

TroubleChute
Подписаться 249 тыс.
Просмотров 56 тыс.
50% 1

Want a simpler way to manage packages for Visual Studio 2022? vcpkg is an open-source Microsoft app that helps you manage a ton of packages really efficiently. This guide shows you how to install it, use it and more!
Downloads:
Visual Studio: visualstudio.microsoft.com/
Microsoft's vcpkg: github.com/Microsoft/vcpkg
Download git: git-scm.com/downloads
Related Guides:
- vcpkg static libraries: • vcpkg: How to use Stat...
- In-depth vcpkg guide: • vcpkg Crash Course | C... (VS2019, but applies here)
- vcpkg static build guide (No DLLs): • vcpkg: How to use Stat...
Default pacage command:
VCPKG_DEFAULT_TRIPLET = x64-windows
Timestamps:
0:00 - Explanation
0:40 - Download/Install Git if not already
1:20 - Download vcpkg
1:57 - Installing vcpkg
2:57 - Search & Install packages with vcpkg
3:36 - Search & Install packages with x64 vcpkg
3:58 - Install packages with extras in vcpkg
4:15 - Where to find installed package files
4:46 - Upgrade packages with vcpkg
5:11 - Remove a package
5:36 - Install x64 packages by default (Set default)
6:26 - How to move vcpkg install
6:48 - Including vcpkg packages in VS2022
7:09 - Integrate vcpkg as NuGet package (Separate projects)
7:55 - How to uninstall vcpkg
#VisualStudio #vcpkg #VS2022
-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member: / @troublechute
-----------------------------
💸 Direct donations via Ko-Fi: ko-fi.com/TCNOco
💬 Discuss video & Suggest (Discord): s.tcno.co/Discord
👉 Game guides & Simple tips: / troublechutebasics
🌐 Website: tcno.co
📧 Need voice overs done? Business query? Contact my business email: TroubleChute (at) tcno.co
Everything in this video is my personal opinion and experience, and should not be considered professional advice. Always do your own research and make sure what you're doing is safe.

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 64   
@arzuyaldz5104
@arzuyaldz5104 Год назад
Thank you sooo much! I was looking at how to download libxml2 to VS but couldn't until I saw your video. You really save me now I can finally focus on my homework.
@ming9638
@ming9638 11 месяцев назад
Amazingly clear and brief! Thanks a lot for your explaination!
@ryondinkus
@ryondinkus 5 месяцев назад
Extremely good video. I was banging my head over package management stuff for hours and this saved me. Thank you!
@abubakkarsiddique4786
@abubakkarsiddique4786 16 дней назад
I've been for 3 days to figure out how to integrate sqlite3 in my cpp project, until i found your video, thanks alot man, You truly saved me.
@AntoniGawlikowski
@AntoniGawlikowski Год назад
Great, concise and informative - thank you so much!
@MavVRX
@MavVRX Год назад
Nice! So easy to install C++ packages now
@federicoeigler9257
@federicoeigler9257 Год назад
Thank you so much! i was tring to install sfml + box2d in vs and it was really imposible, you are the best, greetings!
@davecarkeet5691
@davecarkeet5691 Год назад
Great Video!! You have been a great help, thanks so much!
@spongebobsquarepants4576
@spongebobsquarepants4576 Год назад
Simple and great solution. Thanks!
@felipedavid2106
@felipedavid2106 4 месяца назад
Thank you for saving me a significant amount of time.
@dys5559
@dys5559 4 месяца назад
I have been trying to install SFML for no joke the past seven days and I finally was able to do it thanks to you!!
@SASA_maxillo
@SASA_maxillo 4 месяца назад
well i am not the only one who suffers from SFML 😂😂
@indoorraccoon4450
@indoorraccoon4450 3 месяца назад
canon event
@pablolird7406
@pablolird7406 2 месяца назад
happened to me too lol
@kamalmoustafa318
@kamalmoustafa318 Год назад
its not working. visual studio doesn't find the library automatically. even-though inside the project there is a vcpkg option tab, but still it underlines the path in red. any suggestions?
@variancewithin
@variancewithin Год назад
youtube returns an error when i try and write a comment, so for actual examples, just read my github comments to the vcpkg devs, it should explain everything you need to know for that kinda issue. you might not be doing anything wrong. it's just a very weird overlooked usability that they might not have realized creates an unnecessary barrier for folks who want to use it
@lennartschellen3586
@lennartschellen3586 Год назад
thanks for the video. Awesome . You helped me a lot
@trantrungkien2790
@trantrungkien2790 Год назад
Amazing tutorial. keep up the good work!
@JM-go6zx
@JM-go6zx 2 года назад
Great video, thank you!
@Zuxorestor
@Zuxorestor Год назад
thanks for this tutorial very easy to follow nice :D
@WinterWhiz
@WinterWhiz 8 месяцев назад
This is really good, thanks:)
@CaiLewendon
@CaiLewendon 9 месяцев назад
your a life saver this is awesome
@samdavepollard
@samdavepollard Год назад
very helpful many thanks for sharing your knowledge
@MouliBeesetti
@MouliBeesetti Год назад
Very good explanation.... Thank you...
@tin-slayer-3368
@tin-slayer-3368 6 месяцев назад
Helped a lot!!!
@Bassmaniaaa
@Bassmaniaaa Год назад
Thanks very much. Video is very useful.
@manishgawas57
@manishgawas57 7 месяцев назад
Really Helpful Sir .... Thank You
@Delicatamente
@Delicatamente Год назад
Thank you so much!!
@gabrielrdomingos
@gabrielrdomingos День назад
this saved my job! hahahah thanks a lot!
@cobra_girl_147
@cobra_girl_147 10 месяцев назад
Thank you! ❤
@eigenfield
@eigenfield Год назад
you're the man!
@jordanedward8778
@jordanedward8778 Год назад
Love the video. thank you. Problem though. I want to use trim_left(), however it keeps throwing this error from trim.hpp - left of '.erase' must have class/struct/union. This is obviously not my code but code from the package, what gives?
@marcelpi0
@marcelpi0 Год назад
OHHH THANK YOU!!!!!
@DarianBenam
@DarianBenam Год назад
Thanks! 🚀
@twelvemonkeys58
@twelvemonkeys58 7 месяцев назад
Thank you!
@FlexySlowed
@FlexySlowed 2 года назад
I needed that lol
@fazbearnpizzas9488
@fazbearnpizzas9488 3 месяца назад
thank you so much.
@peterSobieraj
@peterSobieraj Год назад
I'm terrified. It looks like everything is constantly updated. Back when I was young and beautiful we were manualy downloading packages sources, and copy them in to our project directories. So if somebody wanted to compiler this code 10 years later, they just check out and compile. And maybe install older version of visual studio from CD. Back then programers job was to "Create new softwere". It looks like now days it's "Keep our source code working, while other packages are changing their".
@godat9588
@godat9588 2 года назад
Thanks TroupleChute👍
@CaiLewendon
@CaiLewendon 2 месяца назад
This is fucking huge, thank you
@robinwang6399
@robinwang6399 11 месяцев назад
Hello: I see on Microsoft’s blog that VCPKG and GIT are packaged together with Visual Studios. Is there a way to directly use that?
@tanphuoclam764
@tanphuoclam764 2 года назад
nice, thanks
@quandaledingle5073
@quandaledingle5073 Год назад
How can u fix "vcpkg was unable to detect the active compiler's information. See above for the CMake failure output", Pls help me, i have been trying to fix this for days : C
@faletiute
@faletiute Год назад
Hello, Great work, but I have some issues and the error is: "error: in triplet x64-windows: Unable to find a valid Visual Studio instance Could not locate a complete Visual Studio instance" FYI: I have VS Code installed on my local machine. Please advice.
@bennguyen1313
@bennguyen1313 3 месяца назад
I'm trying to make a GTK application using VS Community.. but can't get it to install using vcpkg install gtk:x64-windows and vcpkg integrate install It returns: "error: Could not locate a manifest (vcpkg.json) above the current working directory. This vcpkg distribution does not have a classic mode instance." I also tried "pip install gvsbuild" and "gvsbuild build gtk4" and that created a gtk-build folder with 4GB of files (cmake, ninja, meson, cairo rendering, etc).. unfortunately, can't setup VS Community to include/link the right header/library files.
@therabidpancake1
@therabidpancake1 Год назад
I messed up the installation and only installed what was neccessary to make games in Unity . I need to know how I can install other packages without reinstalling .
@seanmaddows9790
@seanmaddows9790 Год назад
make sure to run shell as admin when integrate install
@AdhjiEugenolDia
@AdhjiEugenolDia 25 дней назад
How to change vcpkg mode from classic to manifest mode?
@user-not_my_name
@user-not_my_name Год назад
5:05 vcpkg upgrade [] --no-dry-run
@syedalimehdi-english
@syedalimehdi-english Год назад
followed each and every step still my vs cant find crow.h
@god_of_war_______
@god_of_war_______ 9 месяцев назад
i got this error:"error: in triplet x64-windows: Unable to find a valid Visual Studio instance Could not locate a complete Visual Studio instance". Someone help me pls :(
@jamesfurtado3915
@jamesfurtado3915 9 месяцев назад
I LOVE YOU
@javadmahdavi1151
@javadmahdavi1151 Год назад
is that works on VS2019 ?!
@markcuello5
@markcuello5 2 года назад
Help me
@b1zzler
@b1zzler 2 года назад
Help me
@jordanedward8778
@jordanedward8778 Год назад
Help Me, Obi Wan.
@BreiterKoenig
@BreiterKoenig Год назад
It ain’t working, "git" is not recognisable
@jonnystumble4354
@jonnystumble4354 2 года назад
Are you italian?
@markcuello5
@markcuello5 2 года назад
No; Norweigan and Amer Indian. Mostly Norweigan.
@gavinw77
@gavinw77 11 месяцев назад
So, it's like nuget.
@RazoBeckett.
@RazoBeckett. 2 года назад
1st comment
@sparklexscrewyachivements813
@sparklexscrewyachivements813 8 месяцев назад
0202020
@abhisheksah885
@abhisheksah885 Год назад
can i fix this error using vckpg package (.text$_ZN12cimg_library11CImgDisplay5paintEv[__ZN12cimg_library11CImgDisplay5paintEv]+0xb0): undefined reference to `SetDIBitsToDevice@48'
@jerodnilstead5985
@jerodnilstead5985 Год назад
how can i get this to work with curl/curl.h ?
Далее
Using Libraries in C++ (Static Linking)
18:43
Просмотров 426 тыс.
World’s Deadliest Obstacle Course!
28:25
Просмотров 54 млн
An Overview of vcpkg in 10 Minutes
9:21
Просмотров 1,6 тыс.
QEMU/KVM for absolute beginners
17:50
Просмотров 504 тыс.
How to Use Vcpkg to Manage C++ Dependencies
16:55
Просмотров 12 тыс.