Using Static C Libraries in Free Pascal & Lazarus (Raylib + Simple Example)

preview_player
Показать описание
In this video, we build on the previous tutorial about shared libraries and show how to use static C libraries in Free Pascal and Lazarus.

We start with a simple example—a C math function compiled to a static .a file—and show how to use it from Pascal. Then we take it further with a real-world example using Raylib, a C game programming library, compiled as a static library and linked into a Free Pascal program.

📺 Watch the Shared Library video here:

🔗 Chapters:
00:00 Start
00:30 Static Libraries – What Are They?
02:45 Using the Simple Math Lib in a Pascal Program
05:25 Raylib with Static Libraries
10:41 Static vs Shared Libraries
11:30 Final Thoughts

Links:
📌 Previous video:

#FreePascal #Lazarus #Pascal #Raylib #StaticLibrary #CLibrary #ProgrammingTutorial
Рекомендации по теме
Комментарии
Автор

Thanks for watching! If you missed the previous video on using shared libraries with Free Pascal, check it out here

Have questions or want to suggest a future topic? Drop a comment below! 👇

silvercoder
Автор

Wonderful!!! But in this case, it won't work on windows(It is with raylib)

GuvaCode
join shbcf.ru