How to put in C++ External Library in VS Code

preview_player
Показать описание
In this video I will show you how to implement C++ external library (e.g. Raylib) into VSCode.

Command to download Raylib on MSYS2:
pacman -S mingw-w64-x86_64-raylib

Include Directory: C:\msys64\mingw64\include

Linker (put it after -o): "-lraylib"

For tutorial video requests email me at:

#kingtut #tutorials #vscode #cpp
Рекомендации по теме
Комментарии
Автор

That's it I am switching back to Java

tusharagarwal
Автор

Finally! I tried this with SFML and it worked! Thank you!

pharooque
Автор

this is the only thing that worked on my pc since 5 days. Thankyouuu

divyavinod
Автор

I like how honest you are about googling stuff in between of the tutorial. Not that i mind it. 😅

hiphopism
Автор

Thank you so much, your video helped me a lot!

Strl.Lorin
Автор

thank you so much, I couldn't import raylib and was stuck on it for 4 hours. Finally solved it! Thank you so

tkscker
Автор

The first actually helpful youtuber ALL HAIL KING TUT

thestopmotiondude
Автор

is there any way you can show how to do this with the ucrt64 runtime? i'm trying to learn how to use external libraries, mainly nlohmann/json but it's just not working and i don't know why

iwolfman
Автор

Im gonna kiss you i have been stuck on linking error for so long thank you

SalmanYU
Автор

Thanks for the help! By the way, what icons do you use for VS Code?

mihaineag
Автор

im trying to add dxlibrary to my vscode but it doesnt work for some reason

zanagi
Автор

tyvm going into C/C++ settings fixed all my issues with "NO SUCH FILE"

Zachrry
Автор

I still get the error message you got at 9:55 and it was already mingw64 in my tasks.json, do you have any idea why?

merisiel
Автор

at 10:42 when you change the folder to mingw-64 g++ stopped appearing under the run dialog. I checked the folder and g++ isn't there do you know how to fix?

Fudge_
Автор

At 6:20 will the library appear if you downloaded that library? And does this work for opengl?

gamingpcgamer
Автор

great.... The library I use doesn't have a include folder

aracon
Автор

I am getting problems with curl library do u have some tips, i dont get any error messages but in the terminal it tells me that -lcurl could not find

SpeerKING
Автор

wtf are the first 2 things you talked about

dangerdiesel
Автор

listen at 1.75x or else you'll fall asleep

DanMiller.
Автор

I just wasted 12min of my life on this

gapl