News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

creating a gui app .exe

Started by chukster, September 02, 2009, 02:01:02 PM

Previous topic - Next topic

chukster

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


QuoteA 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

MortenMacFly

Quote from: chukster on September 02, 2009, 02:01:02 PM
QuoteA 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

chukster

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)

MortenMacFly

Quote from: chukster on September 02, 2009, 02:50:30 PM
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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]