I am compiling a dosbox program, but still get this linker error.
C:\DEV-C_~1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference
to `WinMain@16'
I can't repeat the error, but it seems that it worked a few times (and I
created a simple exe) but when I removed my main-module, and replaced it
by another I suddenly could not compile anymore.
The main-module is in a separate file.
|