Author Topic: a matching debug configuration cannot be found in the wxwidgets directory  (Read 4739 times)

Once-ler

  • Guest
I am using Windows 7, I tried compiling the sources of wxWidgets from this page: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef
I installed MinGW and tried to build from the CMD line from the source code, I have also tried the precompiled binaries.
Please help me get this setup right.
Thanks
« Last Edit: November 23, 2011, 02:51:42 am by Once-ler »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: a matching debug configuration cannot be found in the wxwidgets directory
« Reply #1 on: November 23, 2011, 03:12:36 am »
This is because you (presumably) built wxWidgets in release mode.  I only build mine in release mode, and simply ignore this warning.  The wxWidgets debug libraries contain code for debugging wxWidgets (probably not what you are trying to do).  I always tell Code::Blocks not to create a debug target; instead, I copy the release target and change the flags so it does not optimize, and does emit debug symbols.

If you have a problem compiling a wxWidgets application in release mode, then you have a setup problem, and should give some more specifics (full command line log) in your description.