Using Third Party Libraries Like RayLib in Your Project with CMake

  Рет қаралды 8,715

Kea Sigma Delta

Kea Sigma Delta

Күн бұрын

So, you've mastered compiling multi-file source-code into a program (binary). Congratulations. However, if you're going to write larger useful software, then you're going to need third-party libraries.
This video covers how to link third-party libraries into your project using CMake.
Click the following link for a summary (and to download the source code):
keasigmadelta....
Want to learn more CMake? Click the following link:
keasigmadelta....
#programming #tech #softwaredevelopment #cmake #cpp #cpptutorial #cmaketutorial

Пікірлер: 23
@botchedaledrugikanal4215
@botchedaledrugikanal4215 7 ай бұрын
You're a complete lifesaver. I haven't jumped into CMake until recently and it really feels like a black box. Makefiles were much simpler to use, but oh well. It takes time to learn all of this.
@KeaSigmaDelta
@KeaSigmaDelta 7 ай бұрын
You're welcome
@killacam2971
@killacam2971 6 ай бұрын
Ugh thank you sir. Spent 2 days dealing with vcpkg issues and of course there's a much more simple way 😅. Much appreciated!
@KeaSigmaDelta
@KeaSigmaDelta 6 ай бұрын
You're welcome.
@Mikey-gs1dx
@Mikey-gs1dx 14 күн бұрын
Same
@dcdfm18bf18
@dcdfm18bf18 7 ай бұрын
Amazing! you solved a week of struggling that no one else could fix! Thanks sooo much!!
@KeaSigmaDelta
@KeaSigmaDelta 7 ай бұрын
Glad it was helpful.
@Artistic_Nyungu
@Artistic_Nyungu 2 ай бұрын
Huge thanks... A little something for the algorithm. I hope more people can find you. This was very helpful
@KeaSigmaDelta
@KeaSigmaDelta 2 ай бұрын
Thanks. I'm glad that this helped you.
@rodrigozaldivaralanis698
@rodrigozaldivaralanis698 Ай бұрын
Thanks a lot, dude. This really helped me out
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
You're welcome. I'm glad it's helped you.
@Mikey-gs1dx
@Mikey-gs1dx 14 күн бұрын
Excellent! TY!!
@KeaSigmaDelta
@KeaSigmaDelta 14 күн бұрын
Glad it was helpful!
@imxande6930
@imxande6930 Ай бұрын
thank you so much for the video, works perfectly, a question is how do you go about finding the correct URL for these libraries? I tried to do the same for ImGui and I get a 404 error code when fetching it.
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
I cover this in The CMake Tutorial (cmaketutorial.com/). For GitHub, visit the project you want in a web-browser, and choose the branch or tag that you want to fetch. Now click on the green "Code" button, and you'll see a "Download ZIP" menu item at the bottom of the drop-down. You can copy the URL from there.
@imxande6930
@imxande6930 Ай бұрын
@@KeaSigmaDelta thank you so much for such a fast a thoughtful replay, I will check it out thank you so much!
@accountprincipale2293
@accountprincipale2293 11 ай бұрын
how can i do this with multiple files(i.e. having a main.cpp and a window.cpp etc) i tried everything but everytime it says "undefined reference to `InitWindow'" and other function names
@KeaSigmaDelta
@KeaSigmaDelta 11 ай бұрын
I have a video on compiling multiple files: kzbin.info/www/bejne/fHe7dKSBgrqNbbs It sounds like you either: - Need to write a window.h header file with prototypes for InitWindow() and other functions (and then #include "window.h" in main.cpp) - Or, need to add #include "window.h" in main.cpp
The CMake Tutorial is Available (Prerelease)
1:27
Kea Sigma Delta
Рет қаралды 703
CMake vs Make - A Real Life Comparison (With Actual Code)
12:16
Kea Sigma Delta
Рет қаралды 3 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,3 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 51 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 127 МЛН
How-To Use C++ Libraries (without relying on a package manager)
30:22
Code, Tech, and Tutorials
Рет қаралды 55 М.
Introduction to CMake Crash Course
14:08
PunchedTape
Рет қаралды 17 М.
2 Years Of Learning C | Prime Reacts
22:24
ThePrimeTime
Рет қаралды 286 М.
Modern CMake for C++
11:38
Smok Code
Рет қаралды 44 М.
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,4 МЛН
How C++ took a turn for the worse
5:03
Code Persist
Рет қаралды 281 М.
CMake vs Make - A developer's perspective
8:16
Kea Sigma Delta
Рет қаралды 5 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 807 М.
CMake, How it Works (At Three Different Levels)
4:36
Kea Sigma Delta
Рет қаралды 14 М.
How to: Modern CMAKE
28:06
Practical Software
Рет қаралды 2 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,3 МЛН