|
From: Brian H. <Bri...@da...> - 2006-04-11 16:24:25
|
Hi. After massaging my code a bit, I was able to re-compile a test program for the company I work for. It ran nicely under a 64-bit operating system (Windows XP X64) utilitizing libusb !!! :) However, I did see some debug spew: LIBUSB_DLL: Info: usb_os_init: dll version: 1.1.10.2 LIBUSB_DLL: Info: usb_os_init: driver version: 0.1.10.2 LIBUSB_DLL: Info: usb_set_debug: setting debugging level to 0 (off) Is there an easy way to turn this off? Thanks, --Brian Hindman P.S. The codebase I'm working on can be found here: http://www.maxim-ic.com/products/ibutton/software/1wire/wirekit.cfm (hopefully, we will have a 64-bit Windows libusb build of it soon!) > -----Original Message----- > From: lib...@li... > [mailto:lib...@li...]On Behalf Of > Brian Hindman > Sent: Monday, April 10, 2006 3:18 PM > To: lib...@li... > Subject: RE: [Libusb-win32-devel] 64-bit Windows libusb build - anyone > do ne it yet? > > > Hi. I just used the batch files in the "checked build" with the > following setup: > > - WinXP (32-bit to do compiles) > - Server 2003 DKK, version 3790.1830 > - "Windows Server 2003 Checked x64 Build Environment" > > I used Cygwin cvs to get a brand new set of files about 2 hours > ago. Using the checked build, I had better luck (I could > compile with the > make_all batch file multiple times). However, there were still > source files that were in the "Mac" format. See partial printout > of error messages below. Looks like compiling with the batch files > under the "Checked" build is working ok (except for the "Mac file > format" error). > > Do you think the "Mac" error could be my Cygwin/cvs settings? > > So, on my machine at least the batch files on a "Free" build > environment > still seems to have a few issues to be worked out... > > On another note, for my "Free" environment builds, I was able to > install the resulting libusb0.sys (though, not with an inf file > produced by the inf-wizard.exe program as it wouldn't run). However, > I modified a sample inf file and got it to install and be recognized > by Win XP X64. The console testlibusb.exe ran and found my usb > device. Now, I'm off to try to make headway compiling one of our > test apps against libusb for an AMD 64-bit machine... > > --Brian Hindman > > "errors in directory c:\cygwin\home\administrator\libusb\ddk_make > abort_endpoint.c : error C1113: Mac file format detected: > please convert the > sou > rce file to either DOS or UNIX format > Compiling - clear_feature.c for AMD64 > claim_interface.c : error C1113: Mac file format detected: > please convert > the so > urce file to either DOS or UNIX format > Compiling - dispatch.c for AMD64 > clear_feature.c : error C1113: Mac file format detected: > please convert the > sour > ce file to either DOS or UNIX format > Compiling - driver_registry.c for AMD64 > Compiling - get_configuration.c for AMD64 > Compiling - get_descriptor.c for AMD64 > get_configuration.c : error C1113: Mac file format detected: > please convert > the > source file to either DOS or UNIX format > Compiling - get_interface.c for AMD64 > Compiling - get_status.c for AMD64 > Compiling - ioctl.c for AMD64 > get_status.c : error C1113: Mac file format detected: please > convert the > source > file to either DOS or UNIX format > Compiling - libusb_driver.c for AMD64 > Compiling - pnp.c for AMD64 > Compiling - power.c for AMD64 > Compiling - release_interface.c for AMD64 > Compiling - reset_device.c for AMD64 > Compiling - reset_endpoint.c for AMD64 > reset_device.c : error C1113: Mac file format detected: > please convert the > sourc > e file to either DOS or UNIX format > Compiling - set_configuration.c for AMD64 > reset_endpoint.c : error C1113: Mac file format detected: > please convert the > sou > rce file to either DOS or UNIX format > Compiling - set_descriptor.c for AMD64 > Compiling - set_feature.c for AMD64 > set_descriptor.c : error C1113: Mac file format detected: > please convert the > sou > rce file to either DOS or UNIX format > Compiling - set_interface.c for AMD64 > set_feature.c : error C1113: Mac file format detected: please > convert the > source > file to either DOS or UNIX format > Compiling - generating code... for AMD64 > Compiling - transfer.c for AMD64 > Compiling - vendor_request.c for AMD64 > Compiling - driver_debug.c for AMD64 > vendor_request.c : error C1113: Mac file format detected: > please convert the > sou > rce file to either DOS or UNIX format > Compiling - generating code... for AMD64 > BUILD: Compile errors: not linking > c:\cygwin\home\administrator\libusb\ddk_make > directory > BUILD: Done > > 25 files compiled - 1 Warning - 10 Errors - 1016 LPS > > > -----Original Message----- > > From: lib...@li... > > [mailto:lib...@li...]On Behalf Of > > Stephan Meyer > > Sent: Sunday, April 09, 2006 4:27 AM > > To: lib...@li... > > Subject: [Libusb-win32-devel] RE: [Libusb-win32-devel] > 64-bit Windows > > libusb build - anyone do ne it yet? > > > > > > > > > > > Stephen, > > > > > > Thanks for that. I was able to successfully > > > compile, but I was unable to use make_all.bat. > > > Each time I compiled, I could only compile one > > > item -- that is to say either libusb0.dll or > > > libusb0.sys or the inf wizard. I was unable > > > to compile them all (or even two). To make the > > > next binary, I would have to re-fetch from cvs. > > > > I had no problems with any of the batch files using > > to following setup: > > > > - WinXP > > - Server 2003 DKK, version 3790.1830 > > - "Windows Server 2003 Checked IA-64 Bit Build Environment" > > - "Windows Server 2003 Checked x64 Build Environment" > > > > > > > > Also, I got some warnings that the code files > > > were neither in DOS nor Unix text format (I'm > > > thinking it was a Mac format). I was able to > > > fix that by performing a "dos2unix *" command > > > on all the source files. > > > > I unix2dos-ified the whole codebase including all > > build scripts and committed the changes to the CVS. > > Maybe Windows' DDK can't handle UNIX file formats > > properly. Please try the new version. > > > > > > > > _______________________________________________________________ > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend > > the live webcast > > and join the prime developer group breaking into this new > > coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.3.5/302 - Release > Date: 4/5/2006 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& dat=121642 _______________________________________________ Libusb-win32-devel mailing list Lib...@li... https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 4/5/2006 |