>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

Reply via email to