I want to enable debugging on windows and I did the following:

Open build.xml:
-Add -g to the flag section.
-In the flags section, change -O2 to -O0
-Then change this: strip="true" symfile="${build}/inkscape.dbg"
To this: strip="false" symfile="${build}/inkscape.dbg"
-Then: btool clean
btool

But I get a bunch of make errors. A non-debug config builds fine. This should be easy to reproduce. 

Any ideas?