On Tue, Apr 6, 2010 at 10:09 PM, Wander Lairson
<wander.lair...@gmail.com> wrote:
> Oh, I haven't realized that the problem was just library names...
> Sorry making you loosing your time.. I updated the code to support
> cygwin libraries, rev 58 should work.
>

Unfortunately not, Cygwin seems to be a bit different.

mc...@acerpc ~/mcu/pyusb/pyusb/usb
$ export PYUSB_DEBUG_LEVEL=debug

mc...@acerpc ~/mcu/pyusb/pyusb/usb
$ env | grep PYUSB
PYUSB_DEBUG_LEVEL=debug

mc...@acerpc ~/mcu/pyusb/pyusb
$ svn update
At revision 58.

mc...@acerpc ~/mcu/pyusb/pyusb/usb
$ python
Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb.core
>>> import usb.backend.libusb10
>>> b=usb.backend.libusb10.get_backend()
2010-04-07 07:41:30,974 DEBUG:usb.backend.libusb10:Error loading libusb 1.0 back
end
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb10.py", line 556, in
get_backend
    _lib = _load_library()
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb10.py", line 151, in
_load_library
    raise OSError('USB library could not be found')
OSError: USB library could not be found
>>> import usb.backend.libusb01
>>> a=usb.backend.libusb01.get_backend()
2010-04-07 07:41:53,032 DEBUG:usb.backend.libusb01:Error loading libusb 0.1 back
end
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb01.py", line 512, in
get_backend
    _lib = _load_library()
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb01.py", line 171, in
_load_library
    raise OSError('USB library could not be found')
OSError: USB library could not be found
>>>

-- 
Xiaofan http://mcuee.blogspot.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to