Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Chris Fonnesbeck
And by the way, trying to build matplotlib myself with the numpy
binary installed, fails. It appears to be related to tkagg:

src/_tkagg.cpp:28:18: tk.h: No such file or directory
src/_tkagg.cpp:36: syntax error before `*' token
src/_tkagg.cpp:40: `ClientData' was not declared in this scope
src/_tkagg.cpp:40: parse error before `,' token
src/_tkagg.cpp: In function `int PyAggImagePhoto(...)':
src/_tkagg.cpp:43: `Tk_PhotoHandle' undeclared (first use this function)
src/_tkagg.cpp:43: (Each undeclared identifier is reported only once for each
   function it appears in.)
src/_tkagg.cpp:43: parse error before `;' token
src/_tkagg.cpp:44: `Tk_PhotoImageBlock' undeclared (first use this function)
src/_tkagg.cpp:56: `argc' undeclared (first use this function)
src/_tkagg.cpp:57: `interp' undeclared (first use this function)
src/_tkagg.cpp:57: `argv' undeclared (first use this function)
src/_tkagg.cpp:58: `Tcl_AppendResult' undeclared (first use this function)
src/_tkagg.cpp:59: `TCL_ERROR' undeclared (first use this function)
src/_tkagg.cpp:63: `photo' undeclared (first use this function)
src/_tkagg.cpp:63: `Tk_FindPhoto' undeclared (first use this function)
src/_tkagg.cpp:117: `block' undeclared (first use this function)
src/_tkagg.cpp:143: `Tk_PhotoPutBlock' undeclared (first use this function)
src/_tkagg.cpp:153: `Tk_PhotoBlank' undeclared (first use this function)
src/_tkagg.cpp:158: `TCL_OK' undeclared (first use this function)
src/_tkagg.cpp: In function `PyObject* _tkinit(PyObject*, PyObject*)':
src/_tkagg.cpp:174: `Tcl_Interp' undeclared (first use this function)
src/_tkagg.cpp:183: parse error before `)' token
src/_tkagg.cpp:188: `struct TkappObject' has no member named `interp'
src/_tkagg.cpp:194: `Tcl_CmdProc' undeclared (first use this function)
src/_tkagg.cpp:194: parse error before `)' token
C:/MinGW/include/c++/3.2.3/bits/basic_string.tcc: At top level:
src/_tkagg.cpp:42: warning: `int PyAggImagePhoto(...)' defined but not used
error: Command g++ -O2 -Wall -Iwin32_static/include/tcl84 -I. -Isrc -Iswig -Iag
g23/include -I. -I. -Iwin32_static/include/tcl84\freetype2 -I.\freetype2 -Isrc\f
reetype2 -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 -I.\freetype2
-IC:\Python24\lib\site-packages\numpy\core\include -IC:\Python24\include -IC:\Py
thon24\PC -c src/_tkagg.cpp -o build\temp.win32-2.4\Release\src\_tkagg.o failed
 with exit status 1

However, I have Tk installed, as it comes bundled with ActiveState python.

-- 
Chris Fonnesbeck + Atlanta, GA + http://trichech.us

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Weird resizing issue

2006-07-24 Thread Darren Dale
On Monday 24 July 2006 15:12, Jouni K Seppanen wrote:
 Tommy Grav [EMAIL PROTECTED] writes:
  The window resizes horisontally when the pointer is inside the
  window, although the window behaves erratically as it resizes.
  Moving the pointer to the right will cause the window to grow then
  reduce size as you go further right.

 Is this related to the pointer coordinates shown in the lower-right
 corner of the window? I.e., when you move the pointer right, perhaps
 the x-coordinate becomes a longer number and the window is enlarged to
 accommodate it. I remember seeing behavior like this on some old
 version of Matplotlib (probably TkAgg backend on OS X) but cannot
 reproduce it now.

That looks like the problem. If you click the zoom widget in qt4agg, 
then zoom to rect mode also appears on that line, forcing the width of the 
window to increase even further.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Missing dll in windows build 0.87.4

2006-07-24 Thread Christopher Barker
Charlie Moad wrote:
 Not really.  I am using Visual Studio for the build in which I have
 never seen or heard of this error occuring.  This was a mingw problem,

didn't the OP get this error with a MSVC build?

Anyway, I don't have windows booted to test myself, and I'm out of my depth.

-CHB


-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/ORR/HAZMAT (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users