From: Xiaofan C. <xia...@gm...> - 2015-03-05 16:01:23
|
On Thu, Mar 5, 2015 at 4:45 PM, Dmitry Fleytman <dm...@da...> wrote: > Hello Xiaofan, Jason, > > For convenience, I’ve created libusb fork on github and put patches there, > see branch usbdk-backend-v1 at: > https://github.com/dmitryfleytman/libusb/tree/usbdk-backend-v1 Thanks a lot. This helps. Firstly I did some simple tests under Mac OS X just to see if there are some side effects or not and it seems okay. > Regarding the build, we’re compiling on FC21 system with mingw32/64, i.e. > > ./autogen.sh > mingw32-configure --enable-usbdk=yes (or mingw64-configure > --enable-usbdk=yes) > make > > If that is not an “official” way to build, please let me know how you do it > and we will make corresponding changes in our patches. > Seems to be okay with my not-so-recent version of MinGW-w64 (4.8.2) 32 bit under Windows 7 x86. It does not build with an older version of MinGW-w64(4.7.2) but I think that is not a real problem. Then I tried it with a usb device. usbdk seems to hide the device successfully and libusb xusb example seems to work fine. That is a good sign. I also tried to use libusbdotnet with the device (Benchmark firmware for libusbdotnet/libusbK) but libusbdotnet has problem to load the libusb-1.0.dll I built. I will try later. -- Xiaofan |