Hello, I've gotten this linking error for some time now, and I've been trying to figure out how to solve it, but no luck so far.
I'm using Eclipse CDT, with 32bit MinGW as my compiler and linker.
Here is a the main function of my source code:
And I'm getting this linking error: C:\MinGW\msys\1.0\src\mingwrt/../mingw/main.c:73: undefined reference to `WinMain@16'
I know that it's trying to use a windows entry point for a GUI program(this is a console program).
Eclispe CDT C++ default projects are pretty bare bones standard.
I didn't know there was a bare bones standard. Or what that means, even. It's fairly obvious eclipse thinks you're not compiling a console program. Check your project settings. Asking at a place where eclipse is topical might result in more helpful responses. Or, if this is as common in Eclipse as it is in other development environments, googling may prove productive.