News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

MinGW problem

Started by Jamesff, April 25, 2011, 09:50:05 AM

Previous topic - Next topic

Jamesff

not sure if this is a problem with CodeBLocks or with MinGW, but when I tried to build/run a program, I got this:

c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\libmingw32.a(main.o):main.c|| undefined reference to `WinMain@16'|

The version of MinGW I have came with CodeBlocks 10.05 (the latest version).

xunxun

Did you set a console or GUI application?
Regards,
xunxun

Jamesff


oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]