| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS,TW_WX |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Date: | Fri, 15 Jun 2012 16:37:09 +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: | <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 |
>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/
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
--
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 |