Skip navigation.

蓝星のXSK'S BLOG

囧囧囧囧囧囧囧囧囧囧

Posts tagged with "SDL"

DEVC++中编译SDL

Directions

Download Dev C++, the runtime binary of SDL and the developers version of SDL (for mingw32)
Unzip all files and install
Copy the runtime binary of SDL, SDL.dll, to C:\WINDOWS. This makes the library available system wide.
Unzip the i386-mingw32msvc.tar file within the SDL developers version.
Copy the i386-mingw32msvc\include\SDL folder that's created to C:\Dev-C++\Include This makes the SDL headers available to DevC++.
Copy everything in the i386-mingw32msvc\lib folder to C:\Dev-C++\Lib This makes the SDL libraries available to DevC++
Create a new DevC++ project and add files to it.
Go to Project->Options and add "-lmingw32 -lSDLmain -lSDL -mwindows" to the linker commands text box.
Compile, link, and have fun!!
December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31