Yeah i got it to work but then when i turned off my computer then use it again. I got the error that says.
----------------------------------------------------------------------------------------------
C:\Users\tae\AppData\Local\Temp\cctRevat.o Check_SDL.cpp:(.text+0xe): undefined reference to `SDL_Init'
----------------------------------------------------------------------------------------------
C:\Users\tae\AppData\Local\Temp\cctRevat.o Check_SDL.cpp:(.text+0x13): undefined reference to `SDL_Quit'
---------------------------------------------------------------------------------------------
C:\Program Files\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32\libmingw32.a(lib32_libmingw32_a-crt0_c.o) In function `main':
----------------------------------------------------------------------------------------------
18 c:\crossdev\src\mingw-w64-svn\mingw-w64-crt\crt\crt0_c.c undefined reference to `WinMain@16'
----------------------------------------------------------------------------------------------C:\Users\tae\Desktop\Files\folder\Confidential\Programming\Exercises\SDL\collect2.exe [Error] ld returned 1 exit status
----------------------------------------------------------------------------------------------
that's the error..
But the thing is i already had it running but using the computer later. I can't seem to get it to work anymore.
1 2 3 4 5 6 7 8 9 10 11
|
#include "SDL/SDL.h"
int main(int argc, char* argv[]) {
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Quit();
return 0;
}
|
I have no idea of what could be the problem.. And i can't find it in google it, i mean i already tried finding the answer for two hours but to no avail.