Re: [Dev-C++] Error: ... undefined reference to `WinMain@16'
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Glen V. <gve...@pa...> - 2003-06-12 06:52:37
|
You should have a main-function in one of your .cpp files. Also see that all your files are in the same project. File->new -> project ->empty project Project->add to project-> all the files needed JB Maust wrote: > 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' <mailto:%60WinMain@16%27> > > > Help? > > TIA > > J.B. > jb...@so... <mailto:jb...@so...> > |