Re: Building libusb-win32 source for version 1.2.5
Xiaofan Chen <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUBqAdHUmGaS1bEAT1L8d+mh6YMGmjL=_ZVcvAC96grzYw@mail.gmail.com> |
On Sun, May 25, 2014 at 1:43 PM, Jason Micklewright <[email protected]> wrote: > Hi Xiaofan, > Thanks for the reply. > Firstly, I don't want to build it myself. I have to document how it's done > for work purposes (long story). I can't just refer to the libusb doc, I > have to actually get it building. Okay. > I did get the WDK 7.1.0 but can't get past the setenv.bat call that the make > calls somehow. The make halts because setenv.bat is not called with any > parameters. How do parameter get passed into setenv.bat from the make call? > Is it something to do with running in a MinGW shell because I realize I'm > not doing that. > Thanks! No, the WDK build of libusb-win32 (almost) has nothing to do with MinGW, let alone MSys. Unless you want to build the MinGW import library, you do not need MinGW. In the ddk_make directory, edit make.cfg file to suit your build environment. Quite some of them are optional and are used to build the installer. You can safely comment out them. After that, run make.cmd under the command prompt (no need to under the WDK command prompt) to know the build options, choose the one you want. -- Xiaofan ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk