well that fix that problem but now its says "undefined refrence to SDL_main"
while i did include the "SDL.h" + copying the SDL.dll to the debugger folder in the project
my likner setting are like this right now: -lmingw32 -lSDL2main -lSDL2
Declare it as int main(int, char**)
If you didnt have any other undefined references, this should be your last step before sdl development.
Note: unless your game is really really big (>3gb of ram required) you really shouldn't need a 64bits setup. Many valve games are 32bit executables, and games like Dota2 have a 1.4gb peak of used ram through the entire match.
its writing in the console "hello" and instantly closing the console
its kinda work now but its quitting instantly its doesnt even ask me to press enter or something
just quitting