Tuesday 26 July 2016

c++ - undefined reference to `WinMain@16'

When I try to build a program using Eclipse CDT, I get the following:




/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x106):
undefined reference to `WinMain@16





Why is that? And, how can I solve this issue?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...