I got a successful build using VS2003 on Vista. Here is the env dump: ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.90.1 python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] platform: win32 Windows version: (6, 0, 6000, 2, '')
REQUIRED DEPENDENCIES numpy: 1.0.3 freetype2: found, but unknown version (no pkg-config) OPTIONAL DEPENDENCIES Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.4, pygobject: 2.12.3 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Qt: no Qt4: no Cairo: 1.2.6 libpng: found, but unknown version (no pkg-config) [Edit setup.cfg to suppress the above messages] ============================================================================ And here is the patch to make it work: Index: C:/workspace/matplotlib/setupext.py =================================================================== --- C:/workspace/matplotlib/setupext.py (revision 3677) +++ C:/workspace/matplotlib/setupext.py (working copy) @@ -676,10 +676,10 @@ if sys.platform=='win32': major, minor1, minor2, s, tmp = sys.version_info if major==2 and minor1 in [3, 4, 5]: - module.include_dirs.extend(['win32_static/include/tcl84']) + module.include_dirs.extend(['win32_static/include/tcl8.4']) module.libraries.extend(['tk84', 'tcl84']) elif major==2 and minor1==2: - module.include_dirs.extend(['win32_static/include/tcl83']) + module.include_dirs.extend(['win32_static/include/tcl8.3']) module.libraries.extend(['tk83', 'tcl83']) else: raise RuntimeError('No tk/win32 support for this python version yet') Index: C:/workspace/matplotlib/ttconv/ttutil.cpp =================================================================== --- C:/workspace/matplotlib/ttconv/ttutil.cpp (revision 3677) +++ C:/workspace/matplotlib/ttconv/ttutil.cpp (working copy) @@ -32,10 +32,10 @@ va_start(arg_list, format); char buffer[PRINTF_BUFFER_SIZE]; - int size = vsnprintf(buffer, PRINTF_BUFFER_SIZE, format, arg_list); + int size = _vsnprintf(buffer, PRINTF_BUFFER_SIZE, format, arg_list); if (size >= PRINTF_BUFFER_SIZE) { char* buffer2 = (char*)malloc(size); - vsnprintf(buffer2, size, format, arg_list); + _vsnprintf(buffer2, size, format, arg_list); free(buffer2); } else { this->write(buffer); I don't have time to add the proper #ifdef to the cpp file at this moment. I can't remember to proper check off the top of my head. I'll commit the fix to the setupext.py typo. Did someone want the build? If so, e-mail me and I'll post it somewhere. - Charlie ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users