Author Topic: Problem with WxWidgets  (Read 4144 times)

Offline Metalhamster

  • Single posting newcomer
  • *
  • Posts: 2
Problem with WxWidgets
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Problem with WxWidgets
« Reply #1 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
(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!]