Re: [Dev-C++] getting SDL 4 MingW32 to compile ...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Maan M. H. <mm...@pl...> - 2001-10-31 18:36:39
|
You may be checking Do Not Make a Console Window. If so, uncheck and = see if it works. Maan ----- Original Message -----=20 From: St0fF 64=20 To: Dev...@li...=20 Sent: Wednesday, October 31, 2001 12:20 PM Subject: [Dev-C++] getting SDL 4 MingW32 to compile ... 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. |