[yt-users] solution to wxPython installation problem
Matthew Turk
matthewturk at gmail.com
Wed Apr 14 18:35:12 PDT 2010
Hi Michael,
Thanks very much for this! I will include this in the script.
Best,
Matt
On Wed, Apr 14, 2010 at 5:46 PM, Michael Kuhlen <mqk at astro.berkeley.edu> wrote:
> I just installed yt 1.6 (stable branch) for the first time. I ran
> into some trouble with the wxPython installation. I realize that it's an
> optional component, but since I found a solution to my problem,
> I thought I'd share it here.
>
> I'm installing yt on an x86_64 machine running Ubuntu 9.04,
> 2.6.28-18. The error I got during the wxPython installation was:
>
> src/gtk/_gdi_wrap.cpp:31407: error: ‘class wxGraphicsRenderer’ has no member
> named ‘CreateBitmap’
>
> Some googling revealed this:
>
> http://groups.google.com/group/wxPython-users/browse_thread/thread/129ba27e2f868c3c
>
> Applying the patch discussed at the end of that thread allowed
> the compilation of wxPython to complete successfully. To be more
> specific, you need to add this one line
>
> wxGraphicsBitmap CreateBitmap( const wxBitmap &bitmap ) const { return
> wxNullGraphicsBitmap; }
>
> after line 4197 in the file
> $YT_DIR/src/wxPython-src-2.8.10.1/wxPython/src/gtk/_gdi_wrap.cpp.
>
>
> Might be worth including this patch in the version of wxPython
> that is downloaded from yt.enzotools.org.
>
> Mike
>
> --
> *********************************************************************
> * *
> * Dr. Michael Kuhlen Theoretical Astrophysics Center *
> * email: mqk at astro.berkeley.edu UC Berkeley *
> * cell phone: (831) 588-1468 601 Campbell Hall *
> * skype username: mikekuhlen Berkeley, CA 94720 *
> * *
> *********************************************************************
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list