[sane-devel] MinGW w64 build results

Michael Cronenworth mike at cchtml.com
Tue Dec 20 19:53:56 UTC 2011

Chris Bagwell on 12/18/2011 09:56 PM wrote:
> Not really.  I'm sure upstream libusb is the best place to discuss.
> As long as libusb project has a suggested work around/file location
> for dealing with w64, we can accommodate it as well as standard usb.h
> easy enough.

After thinking about it, I'm not sure libusb is interested in Windows.

libusb-win32[1] though, is, and it is the project I use for libusb 
support. They renamed their include file "usb.h" to "lusb0_usb.h" in 
their latest release. Unfortunately they are not using MinGW (and state 
they have no plans for it) to build from source.

Since the original libusb project will never compile/run on Windows I 
think a define should be added to use the libusb-win32 include file 
name. Even if you can't compile everything using MinGW.

[1] https://sourceforge.net/projects/libusb-win32/

More information about the sane-devel mailing list