Author Topic: wxWidgets: A matching Release configuration cannot be found  (Read 19031 times)

quandary

  • Guest
Hi! Question:

I have installed wxWidgets in a mingw/msys environment as described in http://max.berger.name/howto/wxWidgets/wxWidgets_MinGW.jsp.
Now, wxWidgets compiled fine, and it also works fine if I compile wxWidgets projects from msys with the MinGW C++ compiler.

Now I've installed CodeBlocks.
Creating .Exe and .dll files works fine, but I have a problem when I want to set it up to create wxWidgets applications.

What I did:
I clicked File->New->Project, then selected wxWidgetsProject

Selected wxWidgets 2.8.x
(My wxWidgets install directory is C:\wxWidgets-2.8.7)

Then I give a project title, make a new folder for the project, click next, enter Author info,click next

I select: wxFormBuilder for "Prefered GUI Builder",  and "Dialog Based" in Application Type

I click next

it asks for the wxWidgets location, there i write: C:\wxWidgets-2.8.7

then i click on next

select GNU GCC compiler

click on next

in "wxWidgets Library Settings"  i select Enable Unicode, and i select nothing else, and i select nothing for Miscellaneous Settings

click on next

and i get:

" A matching Debug configuration cannot be found in the wxWidgets directory you specified. This means that Debug target of your project will not build.
Are you sure you want to continue with this settings

i click yes

and i get:

" A matching Release configuration cannot be found in the wxWidgets directory you specified. This means that Release target of your project will not build.
Are you sure you want to continue with this settings

I click on yes

then on finish,

and then I can't build wxWidgets projects because of the not-found configuration...

What did I do wrong???
The error does also occur when I deselect unicode, or select monolithic, in fact I tried all combinations, but none worked...
« Last Edit: April 06, 2008, 12:50:31 am by quandary »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: wxWidgets: A matching Release configuration cannot be found
« Reply #1 on: April 06, 2008, 01:23:36 am »
What did I do wrong???
Quote
I have installed wxWidgets in a mingw/msys environment as described in http://max.berger.name/howto/wxWidgets/wxWidgets_MinGW.jsp.
The wxWidgets wizard in Code::Blocks currently doesn't support mSYS-compiled versions of wxWidgets; you should use a straight Windows command-shell compiled version. See the wxWindowsQuickRef for a quick guide to using wxWidgets with Code::Blocks on Windows.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)