Greetings, Did you download the win32_static folder and place it in the top level of the matplotlic source?
I had similar problems building on my windows machine until I did this and now it works fine. You might also check all the README documents, as one of them gives you more information about building for windows. -Patrick On Mon, Jan 26, 2009 at 8:17 AM, Marcin Krol <mrk...@gmail.com> wrote: > Hello everyone, > > I'm trying to get 0.98.5.2 installed on Windows to use Python 2.6 > (dependency packages I need to use on that version, long story, etc). > > When I was trying to build it (python setup.py build), it was finding > the VC 9.0 C++ compiler on my comp. However, after adding necessary > packages (zlib, png, etc), it was reporting missing 'unistd.h'. Clearly, > this means it was meant to be built with GCC for Windows like MinGW ? > > I have uninstalled the VC compiler, installed GnuWin32 packages and > tried using MinGW (passing --compiler=mingw32 to python setup.py build ) > but now compilation process fails like this: > > c:\MinGW\bin\g++.exe -mno-cygwin -shared -s > build\temp.win32-2.6\Release\src\ft2font.o build\temp.wi > n32-2.6\Release\src\mplutils.o > build\temp.win32-2.6\Release\cxx\cxxsupport.o build\temp.win32-2.6\Re > lease\cxx\cxx_extensions.o > build\temp.win32-2.6\Release\cxx\indirectpythoninterface.o build\temp.win > 32-2.6\Release\cxx\cxxextensions.o > build\temp.win32-2.6\Release\src\ft2font.def -LC:\Python26\libs - > LC:\Python26\PCbuild -lfreetype -lz -lgw32c -lstdc++ -lm -lpython26 > -lmsvcr90 -o build\lib.win32-2.6 > \matplotlib\ft2font.pyd > c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: > cannot find -lgw32c > collect2: ld returned 1 exit status > error: command 'g++' failed with exit status 1 > > What the heck is lgw32c?? > > Regards, > mk > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users