From: Dmitry F. <dm...@da...> - 2015-03-05 08:45:08
|
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 <https://github.com/dmitryfleytman/libusb/tree/usbdk-backend-v1> 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. Dmitry. > On Mar 5, 2015, at 05:02 AM, Jason Kotzin <jas...@gm...> wrote: > > I’m using the pre-built binaries on my mac from: http://crossgcc.rts-software.org/doku.php <http://crossgcc.rts-software.org/doku.php> > > Patch attached. This also has my patch mentioned in my previous email, you may need to remove that. > > Yes, I had trouble with the patches, it needed to be applied in a specific order. So I branched the latest libusb tree, successfully applied the patches, and can fork and do a merge request if needed. > > Let me know if this helps. > > Very Sincerely, > Jason > > <UsbDk.patch> > >> On Mar 4, 2015, at 6:56 PM, Xiaofan Chen <xia...@gm... <mailto:xia...@gm...>> wrote: >> >> On Thu, Mar 5, 2015 at 9:57 AM, Jason Kotzin <jas...@gm... <mailto:jas...@gm...>> wrote: >>> Dmitry - >>> >>> I have successfully applied the patches. >> >> Hmm, I tried to apply the patch series and I could not even pass this >> step. Potentially it is because of the combination of Gmail and Mac >> OS X (I use Mac OS X at home and mainly test libusb under >> VirtualBox VMs, I only test under a real Windows 7 x64 laptop when >> I suspect that VirtualBox is the potential problem). >> >> Just wondering if you can send the patches as attachments to >> help me pass this first step. >> >>> One thing to note, is you need to regenerate the configure scripts, so >>> ./autogen.sh or bootstrap. >>> >>> Configured successfully, but I can’t compile. >>> >> >> Which version of MinGW do you use? I suspect that MinGW-w64 >> is used by the authors and not MinGW.org <http://mingw.org/>. >> >> >> -- >> Xiaofan > |