How To

SDL2 Help


EnderCal1012 2023-05-29 16:34

So I got SDL2 setup and I can compile my game using a makefile. It's progress. But I noticed that when I run my build, the command prompt shows up in the background. Now I don't mind it being there, in fact I'll even use it for better debugging, but I want to know how to remove it. Does anyone happen to know how I would go about doing this?

Timo 2023-05-29 20:00

I had the same issue. I don’t remember well, but maybe you had to compile as a Windows application instead of a command line tool.
Don’t ask me how though…

EnderCal1012 2023-05-29 23:02

I see. Thanks for the guidance Timo. I'll do a little more research into that.

EnderCal1012 2023-05-29 23:09

Ok, that was WAY faster than I thought. All I had to do was add -mwindows to the makefile. Thanks Timo.

Log in to reply.