I am having problems to compile inkscape for win32. I am trying the cross-compiling under linux and the direct compiling in win32. I used the gtk24 provided in the web site. The source compiling is ok, but i have problems at the moment of creating the libraries.
1. Apparently my distribution (SUSE 9.2) is complaining when I am building the dlls. It looks like a ld problem (I used the cross compiler provided at the web site).
2. Curiously I tried in my windows partition using mingw but I got similar results! (mingw-3.1.0):
################################## .... ranlib libinkscape.a perl makedef.pl ####### Generating 'inkscape.def' ####### dllwrap --output-lib=libinkscapedll.a \ --def=inkscape.def --driver-name=g++ \ -o inkscape.dll libinkscape.a -Le:/gtk/gtk24/lib -lgtkmm-2.4.dll -lgdkmm-2.4.dll -lglibmm-2.4.dll -latkmm-1.6.dll -lpangomm-1.4.dll -lsigc-2.0.dll -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lxml2 e:/gtk/gtk24/lib/art_lgpl_2.lib e:/gtk/gtk24/lib/iconv.lib -lfreetype -lpng -lpopt e:/gtk/gtk24/lib/zdll.lib -mwindows -lws2_32 -lintl dlltool: Syntax error in def file inkscape.def:2282 inkscape.exp(.edata+0x23c0):fake: undefined reference to `_ZN28_GLOBAL__N_sp_ite m' libinkscape.a(desktop.o)(.text+0x847b):desktop.cpp: undefined reference to `GC_f ree' libinkscape.a(desktop.o)(.text$_ZN8Inkscape2GC4BaseI10gc_cleanupLNS0_10ScanPolic yE0ELNS0_16CollectionPolicyE0EEnwEjS3_S4_+0x68):desktop.cpp: undefined reference to `GC_malloc_uncollectable'
Fixed. I added -lgc -lgccpp to LIBS, and now the compile works again. Just committed Makefile.mingw.common for this one.
Bob
Roberto Ortega wrote:
I am having problems to compile inkscape for win32. I am trying the cross-compiling under linux and the direct compiling in win32. I used the gtk24 provided in the web site. The source compiling is ok, but i have problems at the moment of creating the libraries.
- Apparently my distribution (SUSE 9.2) is complaining when I am building
the dlls. It looks like a ld problem (I used the cross compiler provided at the web site).
- Curiously I tried in my windows partition using mingw but I got
similar results! (mingw-3.1.0):
################################## .... ranlib libinkscape.a perl makedef.pl ####### Generating 'inkscape.def' ####### dllwrap --output-lib=libinkscapedll.a \ --def=inkscape.def --driver-name=g++ \ -o inkscape.dll libinkscape.a -Le:/gtk/gtk24/lib -lgtkmm-2.4.dll -lgdkmm-2.4.dll -lglibmm-2.4.dll -latkmm-1.6.dll -lpangomm-1.4.dll -lsigc-2.0.dll -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lxml2 e:/gtk/gtk24/lib/art_lgpl_2.lib e:/gtk/gtk24/lib/iconv.lib -lfreetype -lpng -lpopt e:/gtk/gtk24/lib/zdll.lib -mwindows -lws2_32 -lintl dlltool: Syntax error in def file inkscape.def:2282 inkscape.exp(.edata+0x23c0):fake: undefined reference to `_ZN28_GLOBAL__N_sp_ite m' libinkscape.a(desktop.o)(.text+0x847b):desktop.cpp: undefined reference to `GC_f ree' libinkscape.a(desktop.o)(.text$_ZN8Inkscape2GC4BaseI10gc_cleanupLNS0_10ScanPolic yE0ELNS0_16CollectionPolicyE0EEnwEjS3_S4_+0x68):desktop.cpp: undefined reference to `GC_malloc_uncollectable'
participants (3)
-
Bob Jamison
-
MenTaLguY
-
Roberto Ortega