Help! SDL3.h not found

Hi! I’m in Linux Mint (g++) and I was following this tutorial, trying to install SDL3:

https://www.youtube.com/watch?v=1S5qlQ7U34M

But then, when I tried to run one of the example projects (this one):

imagen

…even though my folder structure and files are all the same as the tutorial! (I have the shared library libSDL3.so and everything)

How may I fix this? Thank you for your time!

~ SUPERNOOB

Hello;

Since the version 3, the libSDL uses pkg-config .

Would you mind to compile your example using this command line:

g++ essai.cxx -o prog1 `pkg-config --cflags --libs sdl3`

And then, the window appears here … :slight_smile: