Hi to all,
i’m trying to compile a SDL project with Dev-C++ using libSDLmain.a but it requires (dunno why) the SDLmain.lib
if i include the SDLmain.lib i have this error:
Hi to all,
i’m trying to compile a SDL project with Dev-C++ using libSDLmain.a but it
requires (dunno why) the SDLmain.lib
if i include the SDLmain.lib i have this error:
[snip]
and if i not include it instead the compiler return this:
C:/DevC++/Lib/\libmingw32.a(main.o)(.text+0x8e):undefined reference to
’WinMain at 16’
Make sure that within your linker command box is (in exactly that order):
-lmingw32 -lSDLmain -lSDL -mwindows