Author Topic: creating a gui app .exe  (Read 5008 times)

chukster

  • Guest
creating a gui app .exe
« on: September 02, 2009, 02:01:02 pm »
Hi i want to create a creating a gui app .exe but build not working for me

i followed the intructions on this forum using wxwidgets to set it up http://www.dreamincode.net/forums/index.php?showtopic=123379&st=0&gopid=753362&#entry753362


hi done everything you said but after i have selected the wxwidget location and choosen the GNU GCC compiler and i choose the 1st 3 options and create and use a precompiles header (PCH) i get i get this message


Quote
A matching Debug configuration cannot be found in wxWidgets directory you specified.
This means that Debug target of your project will not build.

i followed the instructions here to build a simple gui app. exe hello world from http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: creating a gui app .exe
« Reply #1 on: September 02, 2009, 02:32:24 pm »
Quote
A matching Debug configuration cannot be found in wxWidgets directory you specified.
This means that Debug target of your project will not build.
It means exactly that. You can compile wxWidgets in many different ways - a.k.a. "configurations". You chose a configuration where your wxWidgets was not compiled for. What is the configuration? (E.g. monolitic, unicode, debug?)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

chukster

  • Guest
Re: creating a gui app .exe
« Reply #2 on: September 02, 2009, 02:50:30 pm »
Hi thanks for the reply

For the configurations option i selected for wxWidgets libary Setings :Use wxWidgets Dll, wxWidgets is built as a monolithic library and Enable unicode

For the Miscellaneous Settings: i selected Create and use precompiled header (PCH)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: creating a gui app .exe
« Reply #3 on: September 03, 2009, 06:51:15 am »
For the configurations option i selected for wxWidgets libary Setings :Use wxWidgets Dll, wxWidgets is built as a monolithic library and Enable unicode
Did you compile wxWidgets usingthat config? Notice: The download of wxWidgets just provides you with the sources.
You should have a file called "libwxmsw28u.a" in your wxWidgets lib folder.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ