User forums > Using Code::Blocks
A matching debug configuration cannot be found in the wxWidgets directory...
ljones:
I've built wxWidgets 2.8.12 using using the mingw32 version of GNU Make 3.82 on Windows 7 x64 SP1. The commands used were
--- Code: ---cd "C:\libraries\wxWidgets-2.8.12\build\msw"
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=debug SHARED=1 MONOLITHIC=1 UNICODE=1 clean
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=debug SHARED=1 MONOLITHIC=1 UNICODE=1
rename gcc_mswuddll debug
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 clean
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
rename gcc_mswudll release
--- End code ---
So in the "C:\libraries\wxWidgets2.8.12\build\msw" directory I have a folder named "release" and a folder named "debug."
I set the wxWidgets base directory variable to "C:\libraries\wxWidgets-2.8.12" and try to create a new wxWidgets project, checking the "wxWidgets is built as a monolithic library" and "Enable unicode" boxes along the way. On clicking "Next" to start the project, I'm greeted with the warning "A matching debug configuration cannot be found in the wxWidgets directory you specified. This means the debug target of your project will not build."
I've searched the forum, but all the answers I've run across have had to do with the libraries not actually being built. I've also tried copying the "debug" and "release" folders I built into the base directory with the same results. I'm sure I'm just missing something silly, but I can't for the life of me figure out what it is. Any help would be appreciated.
MortenMacFly:
--- Quote from: ljones on June 23, 2012, 07:15:41 am ---I've searched the forum, but all the answers I've run across have had to do with the libraries not actually being built. I've also tried copying the "debug" and "release" folders I built into the base directory with the same results. I'm sure I'm just missing something silly, but I can't for the life of me figure out what it is. Any help would be appreciated.
--- End quote ---
C::B matches the file name with your configuration. If you rename the file this does not work anymore. Why do you do that? Would you rename other SDK libraries in the same way? Like rename OpenGL into "release", too?
So you have two options now: Either you change the wizard (by right-clicking on it an select "edit") so it finds you renamed libs or you just stick with the libs as they have been build which is the better options.
Btw: Renaming the file will make it impossible to compile for different wxWidgets flavours.
ljones:
Just rebuilt everything without changing any names. Same problem.
MortenMacFly:
--- Quote from: ljones on June 23, 2012, 06:37:03 pm ---Just rebuilt everything without changing any names. Same problem.
--- End quote ---
Full build log, please?
ljones:
Debug build: http://pastebin.com/FRGKtvRE
Release build: http://pastebin.com/sN3KTZTs
Navigation
[0] Message Index
[#] Next page
Go to full version