SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S

1
2
(4)
3
4
(12)
5
(1)
6
(1)
7
(1)
8
(1)
9
(2)
10
(1)
11
(4)
12
13
(1)
14
15
(1)
16
(2)
17
(1)
18
19
(13)
20
(3)
21
22
23
(2)
24
25
26
27
28
(2)
29
(9)
30
(3)
31
(10)



Showing 1 results of 1

From: Michael D. <md...@st...> - 2007年10月08日 12:15:24
Martin Spacek wrote:
> It's been a few months since I've updated and compiled from svn. I got
> this error today from rev 3926 (in winxp using msvc71):
> 
>> python setup.py build_ext --inplace --force
> 
> ============================================================================
> 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: (5, 1, 2600, 2, 'Service Pack 2')
> 
> REQUIRED DEPENDENCIES
> numpy: 1.0.4.dev4155
> freetype2: found, but unknown version (no pkg-config)
> 
> OPTIONAL DEPENDENCIES
> Gtk+: no
> * Building for Gtk+ requires pygtk; you must be
> able
> * to "import gtk" in your build/install environment
> Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
> wxPython: 2.8.4.0
> * WxAgg extension not required for wxPython >= 2.8
> Qt: no
> Qt4: no
> Cairo: no
> libpng: found, but unknown version (no pkg-config)
> 
> [Edit setup.cfg to suppress the above messages]
> ============================================================================
> running build_ext
> No module named msvccompiler in numpy.distutils; trying from distutils
> building 'matplotlib.ft2font' extension
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /Tpsrc/ft2font.cpp /Fobuild
> \temp.win32-2.5\Release\src/ft2font.obj
> Found executable C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /Tpsrc/mplutils.cpp /Fobuil
> d\temp.win32-2.5\Release\src/mplutils.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /TpCXX\cxxsupport.cxx /Fobu
> ild\temp.win32-2.5\Release\CXX\cxxsupport.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /TpCXX\cxx_extensions.cxx /
> Fobuild\temp.win32-2.5\Release\CXX\cxx_extensions.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /TpCXX\IndirectPythonInterf
> ace.cxx /Fobuild\temp.win32-2.5\Release\CXX\IndirectPythonInterface.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> Iwin32_static\include\freetype2 -I.\freetype2 -IC:\bin\Python25\include
> -IC:\bin\Python25\PC /TcCXX\cxxextensions.c /Fob
> uild\temp.win32-2.5\Release\CXX\cxxextensions.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo
> /INCREMENTAL:NO /LIBPATH:win32_static\lib /LIBPAT
> H:C:\bin\Python25\libs /LIBPATH:C:\bin\Python25\PCBuild freetype.lib
> z.lib /EXPORT:initft2font build\temp.win32-2.5\Rele
> ase\src/ft2font.obj build\temp.win32-2.5\Release\src/mplutils.obj
> build\temp.win32-2.5\Release\CXX\cxxsupport.obj build\
> temp.win32-2.5\Release\CXX\cxx_extensions.obj
> build\temp.win32-2.5\Release\CXX\IndirectPythonInterface.obj build\temp.wi
> n32-2.5\Release\CXX\cxxextensions.obj /OUT:lib\matplotlib\ft2font.pyd
> /IMPLIB:build\temp.win32-2.5\Release\src\ft2font.l
> ib
> Found executable C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe
> building 'matplotlib.ttconv' extension
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpsrc/_ttconv.cpp
> /Fobuild\temp.win32-2.5\Release\src/_ttconv.obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/pprdrv_tt.cpp
> /Fobuild\temp.win32-2.5\Release\ttconv/pprdrv_tt.o
> bj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/pprdrv_tt2.cpp
> /Fobuild\temp.win32-2.5\Release\ttconv/pprdrv_tt2
> .obj
> C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox
> /MD /W3 /GX /DNDEBUG -Iwin32_static\include -I. -
> IC:\bin\Python25\include -IC:\bin\Python25\PC /Tpttconv/ttutil.cpp
> /Fobuild\temp.win32-2.5\Release\ttconv/ttutil.obj
> ttutil.cpp
> ttconv\ttutil.cpp(38) : error C3861: 'vsnprintf': identifier not found,
> even with argument-dependent lookup
> ttconv\ttutil.cpp(45) : error C3861: 'vsnprintf': identifier not found,
> even with argument-dependent lookup
> error: Command "C:\bin\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe
> /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_stat
> ic\include -I. -IC:\bin\Python25\include -IC:\bin\Python25\PC
> /Tpttconv/ttutil.cpp /Fobuild\temp.win32-2.5\Release\ttcon
> v/ttutil.obj" failed with exit status 2
> 
> 
> 
> The latest change for ttutil.cpp was:
> 
> Revision: 3696
> Author: cmoad
> Date: 5:53:21 AM, Friday, August 10, 2007
> Message:
> added win32 checks for vsnprintf which is _vsnprintf on windows
> ----
> Modified : /trunk/matplotlib/ttconv/ttutil.cpp
> 
> So it looks like both the lines that check #ifdef WIN32 are evaluating
> as false, even though I'm in win32. I don't know much about C++. As a
> hack, replacing vsnprintf with _vsnprintf in the else clauses gives me a
> successful build.
Hmm... I wonder if the WIN32 symbol is a Mingw32 thing and not a MS 
Visual Studio thing. One thing I have seen elsewhere is the use of 
_MSC_VER to do this. Would you mind trying:
 #ifdef WIN32 || _MSC_VER
instead of
 #ifdef WIN32
(I don't have a MS Visual Studio to test with myself). Maybe one of the 
Windows guys on this list has another idea as well.
> Also, perhaps the pre-built freetype and libpng static libraries should
> be updated in http://matplotlib.sourceforge.net/win32_static_vs.tar.gz
> to get rid of the "found, but unknown version (no pkg-config)" warnings?
I'm not sure that's possible. What that message means is that it 
couldn't use pkg-config (a standard Unix-y tool for finding build 
requirements) to find those libraries, which also provides the 
matplotlib build with version information. It would be difficult to get 
version information out of the header files otherwise. It's unlikely to 
have pkg-config on Windows, if not using Cygwin or Mingw. We could hide 
those warnings when building with MS Visual Studio, but I actually think 
it's useful to know that pkg-config was not used to find the library. 
We certainly could reword the warning, however, if you have any suggestions.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Showing 1 results of 1

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /