Thanks Spen,

This advice was helpful.

Now I have windows executables for a ftd2232 version of openOCD svn2459 as well
as a Jlink version of the same. Both compiled using cygwin tools on my
Vista laptop.

Best regards,

Joe



On Mon, Jul 6, 2009 at 2:02 PM, Spencer Oliver<[email protected]> wrote:
>
>> 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