Hi William,
I suppose you use a DOS-command shell on windows ?
when I do a compile roundtrip I do:
- copy config.h.mingw to config.h - I run the folling scripts in inkscape\src: mkfiles.pl mkdep.pl makedef.pl in order to build the makefile dependencies (make.files, make.dep, make.exclude). This might not neccesary for you as they are also in the CVS -open the command shell in the inkscape directory - blah\incscape> mingwenv in order to set the environment variables according my specs - blah\inkscape> mingw32-make -f makefile.mingw in order to do all the make - blah\inkscape> mingw32-make -f makefile.mingw dist in order to create a full running distri in the inkscape\inkscape subdirectory
!!!! I do not use any msys or cygwin environment !!!! Your ..../usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/... looks stranage to me. Where does it come from ?
HTH,
Adib. -----
William Lear schrieb:
I am having difficulties trying to build Inkscape using the procedures described on the Wiki Win32Port page.
I believe I have followed Bob Jamison’s directions to the letter. I hate to admit defeat, but I am in need of newbie help.
I am using MinGW V3.1.0-1, ink32libs-050202.7z, and a fresh CVS update as of today, 4/10. Everything is installed in the default locations:
C:/mingw, c:/gtk.
Other than a few seemingly innocuous type mismatch warnings, everything seems to compile OK until I start getting a large number of undefined references, such as:
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x203e): In function `ZNK3Gtk9Clipboard16wait_for_targetsEv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libgtkmm-2.4.a(clipboard.o)(.text+0x2316): In function `ZN41_GLOBAL__N_clipboard.cc_3F6EE7DC_4C12096827Signal
Proxy_TargetsReceived12gtk_callbackEP13_GtkClipboardPP8_GdkAtomiPv':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
This continues until the make terminates due to errors:
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text+0x392): In function `ZN4sigc8internal23trackable_callback_list12add_callback
EPvPFS2_S2_E':
/usr/local/xmingw/lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_list.h:1162: undefined reference
to `std::_List_node_base::hook(std::_List_node_base*)'
c:/gtk/lib/libsigc-2.0.a(trackable.o)(.text$_ZNSt4listIN4sigc8internal18trackable_callbackESaIS2_EE5eraseESt14_List_iter
atorIS2_E+0x15): In function `ZN4sigc9trackableC1Ev':
/home/rjamison/xmingw/libsigc++-2.0.3/sigc++/trackable.cc:30: undefined reference to `std::_List_node_base::unhook()'
make[1]: *** [inkscape.exe] Error 1
make[1]: Leaving directory `C:/inkscape/inkscape/src'
make: *** [all] Error 2
Any help or pointers would be greatly appreciated.
Thanks,
Bill