|
From: Paul A. <pau...@gm...> - 2006-10-24 13:42:13
|
Adam, That is one of the most helpful posts I've ever seen! Thank you. Paul Alfille On 10/24/06, Adam Kropelin <akr...@ro...> wrote: > > On Mon, Oct 23, 2006 at 06:43:03PM -0400, Paul Alfille wrote: > > I'm porting an application (OWFS http://www.owfs.org) that uses libusb > under > > Linux, FreeBSD and MacOSX successfully. > > > > With a bit of fiddling, it runs under cygwin with libusb-win32. Quite a > nice > > testament to your work! > > That does rock, doesn't it? I had the same experience with Apcupsd where > I wrote a libusb-based driver for Solaris and Darwin and decided "just > for the hack of it" to try it on Windows...and it very nearly just > worked. A couple minor patches to libusb-win32 and it worked 100%. > > > Now I'd like to package everything. I've gotten an opensource windows > > installer (NSIS from Nullsoft) and have put in links to cygwin and > > libusb-win32 to satisfy the GPL requirements. I'd like to make a binary > > installation option that guide people though setup rather than send them > to > > multiple places to install multiple packages. > > > > What do I need for the binary install? libusb0.dll? A .sys file? My .inf > > file? Are there any configuration routines I should start? > > We do this in the Apcupsd NSIS installer for Windows. Take a look at > winapcupsd.nsi > (< > http://apcupsd.cvs.sourceforge.net/apcupsd/apcupsd/src/win32/winapcupsd.nsi?revision=1.12&view=markup>) > for an example. Basically you install the > *.inf, *.dll, and *.sys files and then run an entrypoint in the DLL to > actually register the driver. > > --Adam > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > |