[sane-devel] MinGW w64 build results
chris at cnpbagwell.com
Tue Dec 27 23:38:33 UTC 2011
On Tue, Dec 20, 2011 at 1:53 PM, Michael Cronenworth <mike at cchtml.com> wrote:
> 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 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.
>  https://sourceforge.net/projects/libusb-win32/
I had some time to come up to speed with this and added support for
libusb-win32 to sane-backends. I was able to compile and link the
epson2 backend under mingw32 and using the libusb.a and lusb0_usb.h
that libusb-win32 distributes.
More information about the sane-devel