www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/15/13:43:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 15 Jun 2012 19:42:49 +0200
To: cygwin AT cygwin DOT com
Subject: Re: Some issues with "/usr/lib/" and "/lib/" and wx
From: matt_bali AT mac DOT hush DOT com
Message-Id: <20120615174250.0911814DBDE@smtp.hushmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

>eventually you build a partially hybrid application

Can't see how. I have configure log for wx, but nothing "unusual" there for me.


>have you tried using Yaakov wx libraries ?
>
>http://sourceware.org/cygwinports/

Thanks for suggestion, I'll have it in mind, but will try to avoid removing all installed packages and recompiling everything again if I can

As intermediate workaround I patched Matplotlib wx backend source: _load_bitmap() function that passes filename to wx.Bitmap() I changed to:

f = open(filename, 'rb')
wx.BitmapFromImage(wx.ImageFromStream(f))
f.close()

and that works fine for Matplotlib

I'll wait on wxPython mailing list someone to suggest "proper" patch so that other packages work without issue


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019