singalen: (go-go-go-rock-and-roll!)
singalen ([personal profile] singalen) wrote2006-06-07 05:08 pm

SDL/mingw

To compile SDL application under mingw32, compil it with
-Dmain=SDL_main (this is done by default)
and int main() should be int main(int, char*[]), not int main(void);
and link it with
-lSDLmain -mingw32
FAQ
Обновил запись о компиляции переимплементаций Брудвара :)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting