delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_WX |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4FDB5B62.8050602@gmail.com> |
Date: | Fri, 15 Jun 2012 17:57:22 +0200 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Some issues with "/usr/lib/" and "/lib/" and wx |
References: | <20120615143709 DOT EF34614DBED AT smtp DOT hushmail DOT com> |
In-Reply-To: | <20120615143709.EF34614DBED@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 |
On 6/15/2012 4:37 PM, matt_bali AT mac DOT hush DOT com wrote: >> If it is a native (doesn't require cygwin1.dll) then yes, wx won't >> be able to read the Cygwin POSIX paths. > > I compiled wx it under Cygwin > wx libraries are are in /usr/local/lib/ > > Everything works as expected, only some programs won't start because of this issue, or throw error about missing resource file if file is located beneath /usr/lib/ eventually you build a partially hybrid application On cygwin /usr/lib is a mount of /lib so a pure cygwin program will see no difference between /usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png /lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png > Please see this output from python interpreter: > > ======================================== > $ python > Python 2.6.8 (unknown, Jun 9 2012, 11:30:32) > [GCC 4.5.3] on cygwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import wx >>>> wx.Image.CanRead('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png') > True >>>> wximg = wx.Image('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png', wx.BITMAP_TYPE_ANY) > 14:36:44: Error: Can't load image from file '/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png': file does not exist. >>>> > ======================================== > > Only wx has this issue for some reason > have you tried using Yaakov wx libraries ? http://sourceware.org/cygwinports/ Regards Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |