> done using:
> 
> svn# 2459
> 
> ./configure --enable-maintainer-mode --disable-werror 
> --disable-shared --enable-jlink CC="gcc -mnocygwin"
> 
> It worked until I got "configure: error: usb.h is required to 
> build some OpenOCD drivers(s)
> 

http://forum.sparkfun.com/viewtopic.php?t=11221

If you follow the steps in Michael tutorial it shows you where you need to
get/copy the
usb.h

[QUOTE]
here comes more information in case you want to build openocd for a
interface which need libusb or libftdi.
(Tested with SVN version 2348 of OpenOCD)

First of all you must download libusb-win32 which can be found here:
http://sourceforge.net/project/showfiles.php?group_id=78138&package_id=79216
&release_id=495011

You need the libusb-win32-device-bin-0.1.12.1.tar.gz packages. Please
extract this file into a temp
file. A new folder will be created called: libusb-win32-device-bin-0.1.12.1

Now copy the file libusb-win32-device-bin-0.1.12.1\include\usb.h

to the following directories:

c:\cygwin\usr\include
c:\cygwin\usr\include\mingw

Even you must copy the library
libusb-win32-device-bin-0.1.12.1\lib\gcc\libusb.a

to the following directories:

c:\cygwin\lib
c:\cygwin\lib\mingw 
[/QUOTE]

Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to