The DDK is not needed any more in order to compile libusb-win32.
Mingw/Msys is all you need.
Try this:
- get a more recent version of libusb-win32, version 0.1.10.0 is
pretty outdated
- download and install the latest win32-api package from www.mingw.org
- open an Msys shell and run 'make' (without any arguments)
- that's it
Stephan
> I've made a little more progress in understanding why I'm
> having so many troubles getting libusb running.
>
> I was under the impression that libusb0.sys needed the
> DDK to be built, and since I hadn't configured this,
> it wouldn't be built.
>
> It seems that libusb0.sys is built anyway, and this is
> what the operating system is choking on. If I
> substitute libusb0.sys from the binary distribution,
> it works OK, and I'm able to happily hack away at
> libusb0.dll.
>
> I'm using libusb-win32 version 0.1.10.0.
> I've got MingW 3.2.0-rc-3 installed.
> I've got the Latest XP DDK installed.
> I'm on a Windows 2k box.
>
> I don't understand how running "gmake DDK_PATH=<DDKDIR>"
> (where <DDKDIR> os "D:/WINDDK" in my case) is going to
> work. I can' find a reference to DDK_PATH anywhere,
> and the build doesn't fail if the path is wrong.
> It appears that the driver is being linked against
> MingW/liblibntoskrnl.a, rather than anything from the DDK.
>
> The libusb0.sys file that results is exactly the same length
> as the one in the binary distribution, but the binaries differ
> in 97 bytes (some presumably time stamp, but not all.)
>
> Could the version of MingW I'm using be the problem ?
> Any other ideas ?
>
> thanks,
>
> Graeme Gill.
>
>
>
> -------------------------------------------------------
> 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
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
|