Re: [Dev-C++] Error: ... undefined reference to `WinMain@16'
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: JB M. <jb...@so...> - 2003-06-13 03:28:24
|
I have learned the problem was due to the author of C++ in 10 Minutes = not including a module in the book. main() was in a separate file. After I added the missing module it = compiled with zero errors. ;-) Thanx J.B. ----- Original Message -----=20 From: Vlada Djurovic=20 To: JB Maust ; dev...@li...=20 Sent: Thursday, June 12, 2003 2:33 AM Subject: Re: [Dev-C++] Error: ... undefined reference to `WinMain@16' It happens to me when I don't define main() function. But, you did = define it, right? ----- Original Message -----=20 From: JB Maust=20 To: dev...@li...=20 Sent: Thursday, June 12, 2003 3:56 AM Subject: [Dev-C++] Error: ... undefined reference to `WinMain@16' Hello, while trying to compile a modular project (five parts; two .h, = three .cpp files) in Dev-C++ 4.0 I get the following error from Compiler = and linker output: \DEV-C_~1\Lib\\libmingw32.a(main.o)(.text+0x8e): undefined reference = to `WinMain@16' Help? TIA J.B. jb...@so... |