From: John H. <jdh...@ac...> - 2004-03-19 13:07:48
|
>>>>> "Gary" == Gary <pa...@in...> writes: Gary> I'm trying to build from cvs. It builds fine unless I try Gary> I'm on Mandrake 10.0 which uses gcc 3.3.2 I apologize if Gary> I've made some obvious omission. I'm no c wizard (that's Gary> why I want matplotlib!). There are apparently 2 versions of tk headers out there, some which use char** and some which use const char** in this function. We've already seen platform differences on win32, apple and linux which we're trying to typedef appropriately. Todd, perhaps instead of a platform based typedef we need some tk version macro or something since he's also bumping into this on linux. May be time for a google :-) Gary, it's an easy fix for you. Search src/_tkagg.cpp for this section of the code (around line 32) #ifdef WIN32 #define argv_t const char #else #define argv_t char #endif and just delete it all and replace it with #define argv_t const char Let us know how it goes from there. JDH |