Hi, i'm a newcomer: greetings to all! I'm trying to compile matplotlib on windows platform using mingw toolchains (I'm going to play a little with the code). I think to have all dependencies, as specified in setupext.py (downloaded the static header+libs package). Unfortunately, linking is not working. I'm using latest stable version of mingw, 5.1.3. Follows the output; I trimmed it a little, hopefully only reduntant parts, but if you prefer here is the full output (without automatic mail client line wraps...):
http://bproofs.homeunix.org/build23.out If you need more information on my setup, please ask me. Thanks for any help! Francesco Pretto ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.91.2 python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] platform: win32 Windows version: (5, 1, 2600, 2, 'Service Pack 2') REQUIRED DEPENDENCIES numpy: 1.0.4 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.6, pygobject: 2.12.3 Qt: no Qt4: no Cairo: 1.2.6 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: batch. ghostscript: "gswin32c" non Š riconosciuto come comando interno o esterno, un programma eseguibile o un file batch. latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: matplotlib will provide [Edit setup.cfg to suppress the above messages] ============================================================================ running build running build_py creating build creating build\lib.win32-2.5 copying lib\pylab.py -> build\lib.win32-2.5 copying lib\configobj.py -> build\lib.win32-2.5 creating build\lib.win32-2.5\matplotlib copying lib\matplotlib\afm.py -> build\lib.win32-2.5\matplotlib copying lib\matplotlib\agg.py -> build\lib.win32-2.5\matplotlib copying lib\matplotlib\art3d.py -> build\lib.win32-2.5\matplotlib copying lib\matplotlib\artist.py -> build\lib.win32-2.5\matplotlib copying lib\matplotlib\axes.py -> build\lib.win32-2.5\matplotlib copying lib\matplotlib\axes3d.py -> build\lib.win32-2.5\matplotlib [...] copying lib\pytz\zoneinfo\US\Pacific-New -> build\lib.win32-2.5\pytz\zoneinfo\US copying lib\pytz\zoneinfo\US\Samoa -> build\lib.win32-2.5\pytz\zoneinfo\US copying lib\dateutil\zoneinfo\zoneinfo-2007f.tar.gz -> build\lib.win32-2.5\dateutil\zoneinfo running build_ext building 'matplotlib.ft2font' extension C compiler: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes creating build\temp.win32-2.5 creating build\temp.win32-2.5\Release creating build\temp.win32-2.5\Release\src creating build\temp.win32-2.5\Release\cxx compile options: '-Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c' gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxxextensions.c -o build\temp.win32-2.5\Release\cxx\cxxextensions.o Found executable c:\mingw\bin\gcc.exe gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c CXX\IndirectPythonInterface.cxx -o build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c src/mplutils.cpp -o build\temp.win32-2.5\Release\src\mplutils.o gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxx_extensions.cxx -o build\temp.win32-2.5\Release\cxx\cxx_extensions.o gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c CXX\cxxsupport.cxx -o build\temp.win32-2.5\Release\cxx\cxxsupport.o gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iwin32_static\include -I. -Iwin32_static\include\freetype2 -I.\freetype2 -Ic:\python25\include -Ic:\python25\PC -c src/ft2font.cpp -o build\temp.win32-2.5\Release\src\ft2font.o g++ -mno-cygwin -shared build\temp.win32-2.5\Release\src\ft2font.o build\temp.win32-2.5\Release\src\mplutils.o build\temp.win32-2.5\Release\cxx\cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lgw32c -lstdc++ -lm -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd Found executable c:\mingw\bin\g++.exe Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized [...] Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized Warning: .drectve `/DEFAULTLIB:"MSVCRT" ' unrecognized Cannot export [EMAIL PROTECTED]@G?$AA@: symbol not found Cannot export [EMAIL PROTECTED]@h?$AA@: symbol not found Cannot export [EMAIL PROTECTED]@F?$AA@: symbol not found Cannot export [EMAIL PROTECTED]@Q?$AA@: symbol not found [...] Cannot export [EMAIL PROTECTED]@[EMAIL PROTECTED]@: symbol not found Cannot export [EMAIL PROTECTED]@[EMAIL PROTECTED]@: symbol not found win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/ftbase.obj): In function `FT_Raccess_Get_HeaderInfo': c:\documents and s:(.text[_FT_Raccess_Get_HeaderInfo]+0x4): undefined reference to `__security_cookie' c:\documents and s:76: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:76: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:76: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/ftbase.obj): In function `IsMacBinary': c:\documents and s:(.text[_IsMacBinary]+0x7): undefined reference to `__security_cookie' c:\documents and s:38: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:38: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/psmodule.obj): In function `ps_unicode_value': c:\documents and s:(.text[_ps_unicode_value]+0x4): undefined reference to `__security_cookie' c:\documents and s:119: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:119: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In function `_bdf_split': c:\documents and s:(.text[__bdf_split]+0x4): undefined reference to `__security_cookie' c:\documents and s:131: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:131: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In function `_bdf_set_default_spacing': c:\documents and s:7: undefined reference to `__security_cookie' c:\documents and s:49: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:(.text[__bdf_set_default_spacing]+0x10c): undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/bdf.obj): In function `_bdf_parse_properties': c:\documents and s:(.text[__bdf_parse_properties]+0x7): undefined reference to `__security_cookie' c:\documents and s:95: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:95: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:95: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:95: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:95: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1cid.obj): In function `cid_parser_new': c:\documents and s:(.text[_cid_parser_new]+0x7): undefined reference to `__security_cookie' c:\documents and s:123: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:(.text[_cid_parser_new]+0x256): undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1cid.obj): In function `cid_hex_to_binary': c:\documents and s:(.text[_cid_hex_to_binary]+0x7): undefined reference to `__security_cookie' c:\documents and s:89: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:(.text[_cid_hex_to_binary]+0x169): undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/cff.obj): In function `cff_size_init': c:\documents and s:(.text[_cff_size_init]+0x7): undefined reference to `__security_cookie' c:\documents and s:68: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:68: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:(.text[_cff_size_init]+0x24a): undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In function `parse_charstrings': c:\documents and s:(.text[_parse_charstrings]+0x4): undefined reference to `__security_cookie' c:\documents and s:268: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:268: undefined reference to [EMAIL PROTECTED]@4' c:\documents and s:268: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In function `T1_Open_Face': c:\documents and s:(.text[_T1_Open_Face]+0x7): undefined reference to `__security_cookie' c:\documents and s:175: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/type1.obj): In function `afm_atoindex': c:\documents and s:(.text[_afm_atoindex]+0x4): undefined reference to `__security_cookie' c:\documents and s:42: undefined reference to [EMAIL PROTECTED]@4' win32_static\lib/freetype.lib(/Documents and Settings/Charles Moad/Desktop/matplotlib/freetype-2.1.9/objs/release/autohint.obj): In function `ah_outline_compute_blue_edges': c:\documents and s:(.text[_ah_outline_compute_blue_edges]+0x4): undefined reference to `__security_cookie' c:\documents and s:124: undefined reference to [EMAIL PROTECTED]@4' collect2: ld returned 1 exit status error: Command "g++ -mno-cygwin -shared build\temp.win32-2.5\Release\src\ft2font.o build\temp.win32-2.5\Release\src\mplutils.o build\temp.win32-2.5\Release\cxx\cxxsupport.o build\temp.win32-2.5\Release\cxx\cxx_extensions.o build\temp.win32-2.5\Release\cxx\indirectpythoninterface.o build\temp.win32-2.5\Release\cxx\cxxextensions.o -Lwin32_static\lib -Lc:\python25\libs -Lc:\python25\PCBuild -lfreetype -lz -lpython25 -lmsvcr71 -o build\lib.win32-2.5\matplotlib\ft2font.pyd" failed with exit status 1 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users