![](https://secure.gravatar.com/avatar/924c0b8f054133bb9605822fdb96cba7.jpg?s=120&d=mm&r=g)
Docsonic wrote:
Please see the other post I made on this topic for more extensive error details.
The compiler is in C:\mingw4 (as per JonY's instructions) and mingwenv.bat has been changed to reflect this. All the 'missing' files are available in C:\mingw4\include\c++\4.2.0 so the install appears complete - I am using the latest files from modevia.
I ran mingwenv.bat and the path variable shows the correct directories for mingw and gtk. I then ran g++ buildtool.cpp -o btool in the same console, that is when I got the errors.
I looked in the buildtool.cpp file and found the 4 problem lines but I have no idea what to do with them as I do not know the base directory where g++ starts looking, if I did then I could expand the path as it is done for the header files earlier in the cpp file. I also looked in the two xml files to see if they helped... they didn't :-)
If anyone has any insight into this then I would love to hear it, people tell me that compiling Inkscape on Win is no problem but it is beating me so far.
Thanks,
Tony
Adib Taraben-3 wrote:
Docsonic schrieb:
I followed the directions from JonY to compile the SVN on Win32 (I know
Have you the complete compiler package? Looks that it can not find the string package. Check http://inkscape.modevia.com/win32libs to get the latest packages.
- Compiler should be in c:\mingw\
- call mingwenv.bat from the same command where you call "g++
buildtool.cpp -o btool"
HTH,
Adib.
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
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.