[Dev-C++] getting SDL 4 MingW32 to compile ...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: St0fF 6. <st...@gm...> - 2001-10-31 18:20:26
|
Hi! I=B4ve got a problem. I downloaded SDL-devel 4 mingw32 and depacked the = .h - files to \devcpp\include\SDL. When I include "SDL\SDL.h" there's = no problem. I also depacked the .a - files to \devcpp\lib. When I = compile with "-lsdl" the linker output is as follows: // linker output: D:\IDE\devCPP\Lib\\libmingw32.a(main.o)(.text+0x8e): undefined reference = to `WinMain@16' I guess I need to link to another lib aswell. Which one is it? Or if = I'm wrong, what's wrong? Any help is apprecciated ... Cheers, St0fF. |