compile Hid-data host software by VC6?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
yaya001
Posts: 2
Joined: Wed Jan 14, 2009 11:25 am

compile Hid-data host software by VC6?

Post by yaya001 » Wed Feb 18, 2009 5:25 am

I compile hid-data host software by VC6, I had added the libusb-win32-device-bin-0.1.12.1 .
The compile is successful with no error and warning.
When I running compiled exe file, I get follow information:

Found 2 busses
Error finding DataStore: The specified device was not found.

But when I use the exe file complied by mingw, the communication between avr hardware and host soft ware well.
I can write and read to or from the hardware.

I have checked the host code. Found nothing wrong.

Please give me some suggestions.

I notice the Section BUILDING THE HOST SOFTWARE in readme file.

Window need DDK, I have not installed it. But why I compile with no error and warning.

Thank you very much.

yaya001
Posts: 2
Joined: Wed Jan 14, 2009 11:25 am

Post by yaya001 » Wed Feb 18, 2009 8:36 am

#if defined(WIN32) should be #if defined(__WIN32) in hiddata.c ??

Post Reply