Code::Blocks Forums

User forums => Help => Topic started by: Metalhamster on April 08, 2010, 10:03:30 am

Title: Problem with WxWidgets
Post by: Metalhamster on April 08, 2010, 10:03:30 am
Hi everyone,


I use Code::Blocks with the MinGW-compiler and wxWidgets-2.6.4 to create GUIs.
When I want to compile something, I always get the error: undefined reference to `_WinMain@16'
I know it's so, because the compiler search a winmain-function, which doesn't exists.
How can I change it, that my programm works?


Greetz Metalhamster
Title: Re: Problem with WxWidgets
Post by: oBFusCATed on April 08, 2010, 10:21:59 am
This is not a general programming site! Please read the forum rules and learn to use google or another searcher