You didn't mention which compiler you were trying to use.  It looks like 
it can't find the Microsoft compiler.  If you have it installed, perhaps 
it's installed in a non-standard location...?  It should be 
theoretically possible to use the free Microsoft compiler, but I have no 
experience with that.

I have used the Mingw32 compiler included with Cygwin to build 
matplotlib recently with success.  There is also a version of Mingw32 
that is not part of Cygwin.  To use one of these compilers, you need to 
explicitly tell distutils (the system used to build matplotlib) to use 
it, using "-c mingw32".

Cheers,
Mike

C M wrote:
> 
> On 9/24/07, *John Hunter* < [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     On 9/24/07, C M <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>     >  I'm having problems building matplotlib on windows from a folder
>     from SVN,
>     >  and haven't done it
>     >  before (previously had used the prebuilt binary download).  I
>     don't know
>     >  what I am doing wrong.
> 
>     Read the header of setupext.py, particularly the part for win32 users
>     -- it may not be totally current, but will get much you closer to your
>     goal.  Once you have followed the steps there, if you hit another
>     roadblock check back here and  we will advise further and try and
>     update the docs as necessary.  You are actually in the best position
>     to write documentation, since you are hitting this for the first time,
>     so please take notes and/or update the instructions in setupext.py so
>     we can add them to the docs.
> 
> 
> Well, not familiar with this at all but giving it a try...In the 
> setupext.py
> header it reads:
> 
>   This build is similar to the mingw.  Download the visual studio static
>   dependencies from
>   http://matplotlib.sourceforge.net/win32_static_vs.tar.gz 
> <http://matplotlib.sourceforge.net/win32_static_vs.tar.gz> and
>   see the README in that dir
> 
> I did that.  Then, README there says:
> 
>   Contents:
>   Static dependencies for building mpl for win32 using
>   Visual Studio.
>   Extract to the matplotlib source folder.
> 
> I extracted it to the matplotlib folder itself and also on another
> try the subfolder, src.  In both cases then from cmd did:
> 
>   python setup.py build bdist_wininst
> 
> In both cases got same error as before. 
> 
> I like to be more help but I am not sure what to do. 
> It isn't crucial that I get the latest via SVN and
> build it myself, but I thought it would be good to learn
> to do this generally, just didn't realize it would be a bit
> of an expedition.  Not sure what to do.
> 
> Thanks.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-- 
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to