Author Topic: Warnning when creating A new wxwidgets project in Codeblocks . How to solve ???  (Read 5241 times)

Offline thanhnh

  • Single posting newcomer
  • *
  • Posts: 3
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 :( )
« Last Edit: December 01, 2009, 03:37:48 pm by thanhnh »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline thanhnh

  • Single posting newcomer
  • *
  • Posts: 3
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 :(

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
You downloaded the sources, wxwidgets does not provide prebuild libs.

See this article for more: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef.

Offline thanhnh

  • Single posting newcomer
  • *
  • Posts: 3
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
....
??????
« Last Edit: December 01, 2009, 04:03:25 pm by thanhnh »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ