Windows DDK needed?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
vsovereign
Rank 1
Rank 1
Posts: 21
Joined: Wed Dec 30, 2009 3:24 pm

Windows DDK needed?

Post by vsovereign » Mon Feb 01, 2010 11:48 am

I'm trying to make the example HID Data (in vusb -> examples) to work.
In the readme file it is said that in windows I need Windows DDK and in Linux, libusb.

Can I just download the makefile, main, etcand make it work without DDK?

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: Windows DDK needed?

Post by ulao » Tue Feb 02, 2010 6:41 am

That pissed me off too, I had to give in , I could not make it with out the ddk installed. Once installed compiles just fine ;)

vsovereign
Rank 1
Rank 1
Posts: 21
Joined: Wed Dec 30, 2009 3:24 pm

Re: Windows DDK needed?

Post by vsovereign » Tue Feb 02, 2010 12:08 pm

Where did you get DDK?
I checked Microsoft website but they said DDK has been superseded by WDK

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: Windows DDK needed?

Post by ulao » Tue Feb 02, 2010 7:54 pm

LOL, I have no friggen clue man.. It took me all day to find it. I zipped up the libs and includes for xp, hope this helps

http://spawnlinux.dyndns.org/DoCz/down_s/temp/

maxi
Rank 3
Rank 3
Posts: 122
Joined: Fri Jul 24, 2009 6:13 pm

Re: Windows DDK needed?

Post by maxi » Fri Feb 05, 2010 12:46 am

I got it working fine with WDK: http://forums.obdev.at/viewtopic.php?f=8&t=3388

Also, MinGW ships with a free version of teh DDK, probably the easiest way to go if you only want to compile the sample.

Edit: Sorry, I see you are using linux. In that case you can't use WDK and I don't suppose the linux build of MinGW will inculde the DDK headers :?:

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: Windows DDK needed?

Post by ulao » Fri Feb 05, 2010 2:43 am

I see you are using linux.
0h , oops I didnt see that.. I dont have the linux libs, but if you need the source let me know, I can zip it up.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: Windows DDK needed?

Post by christian » Sun Feb 28, 2010 6:28 pm

Where does it say that you need the DDK? MinGW comes with DDK compatible libs, only two headers are missing and we ship those with the examples. So all you need on Windows is MinGW. And even if you cross-compile for Windows on Linux, you use the MinGW libraries which include enogh of the DDK to make it work. I usually cross-compile the Windows examples on the Mac using MinGW.

Post Reply