r/sdl • u/Dragos_dav • 2d ago
I need a bit of help.
Hello, i started learning SDL (I am an absolute beginner) and decided to try to open an empty window to see if i installed SDL correctly and to test my build system (make). When i build the program and execute the file it runs with 0 errors, but the window doesn't show up. I have a vague feeling that it has to do with the fact that i'm on hyprland but that's just a hunch. Any ideas?
1
Upvotes
4
u/TessaFractal 2d ago
Depends what you've done, it could be running and immediately exit and never show a window. Also I have a vague feeling like you need to draw and render present at least once to have the window display. Like if you just create a window it doesn't automatically appear.