Thanks JonY but it still doesn't seem to work. My build.xml file (lines 178-185) is now...
178 description="compile the source to .o" > 179 180 <!-- Compile from source to build --> 181 <cc cc="${arch}gcc" cxx="${arch}g++ -I C:\mingw4\include\c++\4.2.0 -I C:\mingw4\include\c++\4.2.0\i686-pc-mingw32" 182 destdir="${build}/obj"> 183 <fileset dir="${src}"> 184 <!-- THINGS TO EXCLUDE --> 185 <exclude name="ast/.*"/>
...just to make sure I edited it correctly. I still get the same error that it can't find those 4 files, string, map, set and vector and I am using Inkscape-15896 sources with mingw-4.2.0-070518 and gtk210-070819. Is there anything else I might have missed?
Thanks again for your help,
Tony
JonY-3 wrote:
Hi,
I am terribly sorry. I forgot to tell you that you should modify build.xml and add the appropriate C++ include flags because the provided gcc4 compiler paths are hard coded to look into C:\mingw for headers, therefore they won't look at the C:\mingw4 directory.
Look for this line (line 181 for revision 15895):
<cc cc="${arch}gcc" cxx="${arch}g++"
Change it to
<cc cc="${arch}gcc" cxx="${arch}g++ -I C:\mingw4\include\c++\4.2.0 -I C:\mingw4\include\c++\4.2.0\i686-pc-mingw32"
That above should be in one line. This will tell g++ to look in those places for standard C++ headers.
Hope I fixed it. Sorry for the inconvenience. I personally build svn in places other than C:\ because it ran out of space.