News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???

Started by thanhnh, December 01, 2009, 03:27:16 PM

Previous topic - Next topic

thanhnh

Hi, I'm a newbile...

 Today, I want to create a "Hello world " wxwidgets project. This is my steps ...

File => New => Project => wxwidgets







And Codeblock warnning ...


- Could you tell me, how to solve this problems ? Thanks, a lot.
( srry, because my english writting is ... too baddddd :( )

MortenMacFly

Quote from: thanhnh on December 01, 2009, 03:27:16 PM
Hi, I'm a newbile...
Thanks for flooding our forum with huge images and not posting a question. :?

Furthermore the message clearly says what's wrong: "No matching wx configuration found". Thus you don't have a wxWidgets installed / compiled that matches the parameters you setup. Note that wx can be built in MANY ways each resulting in an own config / library set. Do this for your setup and you're done. Consult the wxWidgets docu for more information as this is not a C::B issue and we don't provide support for wxWidgerts internals. Use a wxWidgets forum if in doubt.
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]

thanhnh

I had downloaded wxWidgets 2.8.10 pack from http://www.wxwidgets.org/downloads/ and I've installed it. But the same warnning is gererated :(

Jenna


thanhnh

Hix, but I've downloaded wxwidgets 2.8.10 windows installer package from: http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.10-Setup.exe
.... and installed it ... and then I run Command Prompt, entered this command:

g++ -make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1

the command prompt says:
g++ -make : no such file or directory
g++ shared=1: no such file or directoy
....
??????

MortenMacFly

Quote from: thanhnh on December 01, 2009, 03:51:34 PM
Hix, but I've downloaded wxwidgets 2.8.10 windows installer package from: http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.10-Setup.exe
This installer only contains the sources, too. Listen to what we are saying: You NEED to compile wxWidgets yourself. Read the link Jens was referring to. In addition surely you'll need the GCC compiler in the path.
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]

MortenMacFly

Quote from: thanhnh on December 01, 2009, 03:51:34 PM
g++ -make
This should be one command - i.e. the name of the make executable you have installed. In my case it's called "mingw32-make.exe". Don't know what compiler you've installed. If in doubt refer to the MinGW.org webpage.
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]