Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: thanhnh on December 01, 2009, 03:27:16 pm

Title: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: thanhnh on December 01, 2009, 03:27:16 pm
Hi, I'm a newbile...

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

File => New => Project => wxwidgets

(http://upanh.com/uploads/29-April-2009/je7hx24k5mm3j97wzxb.jpg)
(http://upanh.com/uploads/29-April-2009/a14cofrpuu9abyr5qufx.jpg)
(http://upanh.com/uploads/29-April-2009/dyelqnesuo87evc8u33j.jpg)
(http://upanh.com/uploads/29-April-2009/l3192m1v5u70ew4hq1gn.jpg)
(http://upanh.com/uploads/29-April-2009/ckxgynedz2lyznsxtcga.jpg)

And Codeblock warnning ...
(http://files.myopera.com/thanhnh/blog/Untitled.png)

- Could you tell me, how to solve this problems ? Thanks, a lot.
( srry, because my english writting is ... too baddddd :( )
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks ... How to sole ???
Post by: MortenMacFly on December 01, 2009, 03:36:45 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.
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: thanhnh on December 01, 2009, 03:42:12 pm
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 :(
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: Jenna on December 01, 2009, 03:45:39 pm
You downloaded the sources, wxwidgets does not provide prebuild libs.

See this article for more: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef).
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: 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
.... 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
....
??????
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: MortenMacFly on December 01, 2009, 05:16:14 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.
Title: Re: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???
Post by: MortenMacFly on December 01, 2009, 05:18:30 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.