Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: chukster on September 02, 2009, 02:01:02 pm

Title: creating a gui app .exe
Post by: chukster 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
Title: Re: creating a gui app .exe
Post by: MortenMacFly 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?)
Title: Re: creating a gui app .exe
Post by: chukster 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)
Title: Re: creating a gui app .exe
Post by: MortenMacFly 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.