News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem with WxWidgets

Started by Metalhamster, April 08, 2010, 10:03:30 AM

Previous topic - Next topic

Metalhamster

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

oBFusCATed

This is not a general programming site! Please read the forum rules and learn to use google or another searcher
(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!]