User forums > General (but related to Code::Blocks)

creating a gui app .exe

(1/1)

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



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

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 ---
--- Quote ---A matching Debug configuration cannot be found in wxWidgets directory you specified.
This means that Debug target of your project will not build.
--- End quote ---

--- End quote ---
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?)

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

--- End quote ---
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.

Navigation

[0] Message Index

Go to full version