views:

4

answers:

0

I'm using the MSYS shell to compile on Windows with Microsoft VC++ using make with my own makefile that invokes cl (VC++) using wx-config to grab the appropriate command line options (I also use the same makefile on Linux with g++). I've been doing this with a release version of wxWidgets 2.8.7 for quite a while without problems.

I now need to build a debug version on Windows, but I'm completely stuck trying to figure out how to get wx-config to recognize that the debug version of the wx libraries exists. I believe I created the release version of the wx libraries by doing:

nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 RUNTIME_LIBS=static

so I tried to add a debug version by doing (from wxWidgets-2.8.7/build/msw):

nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 RUNTIME_LIBS=static

I can see that the debug libraries exist in wxWidgets-2.8.7/lib/vc_lib, but when I do "wx-config --list" I see only the release version. Also, when I look at /usr/local/lib/wx/config I see only a release version. When I do "wx-config --debug=yes" I get a "no config found to match" error (no such error for "wx-config --debug=no").

Is there some additional install step I needed to do after the nmake to get wx-config updated to see the debug version?