Bob Jamison wrote:
Hi all. Just thought I'd update everyone on the Win32 situation.
Re: win32 startup crashes
..........
So I rebuilt the cross-compiler and all of the C++ libs in our gtk24.zip collection, and put these new builds on the web site. Anyone building Win32 Inkscape should get a fresh copy of these. The same links as before have the new items.
I built Inkscape with these libs yesterday, put them on the server. Bulia said it works; Simarilius says there are still some problems.
FYI, the X-compiled build from the web site did not work for me (W2K). Thanks for your efforts / instructions on your website, I decided to try and build on W2K natively. I have managed to get a build which atleast starts (as opposed to crashing on startup). Main thing I notice is that none of the text items are visible / are getting created.
I found the following:
1) The link to gtk libraries zip is wrong. It should be pointing to gtk24.zip (windows section of instructions).
2) Additionally, I modified the GTK variable in mingwenv.bat also. Do not know if that is necessary.
3) First time around, the line $(RM) libinkscape.a (in Makefile.mingw of inkscape/src) causes issues. I commented it out first time.
4) I had some issues with spaces in paths. Issues with g++ and tmp folder resolved by making sure TMP is set to a path that does not contain blank spaces.
5) In the inkscape/Makefile.mingw there is the line
<TAB># $(CP) $(GTKDOS)$(S)bin$(S)libiconv-2.dll inkscape
Tabs are not allowed there. So, I just deleted the line
6) iconv.dll was missing from the gtk24.zip. I copied the one from gtk2.zip into the right place. Required by $(CP) $(GTKDOS)$(S)bin$(S)iconv.dll inkscape in inkscape/Makefile.mingw
7) In inkscape/src/Makefile.mingw I had to change the targets: inkspace.exe and inkview.exe to use "libinkscape.a" instead of "libinkscapedll.a"
8) In file Makefile.mingw.common I had to add
-LC:/MinGW/lib and -lstdc++ to fix the problem of "reference to `__gxx_personality_v0'" when doing the dllwrap.
9) I had to comment out a line related to POV to get it to compile.
BTW, if not for your instructions I would never have attempted this. Maybe someone would volunteer to fix the instructions and the make files etc.
Thanks. Sudhan -- Eager user