OpenOC build in Linux missing ftd2xx.h

Hi,

I downloaded the svn trunk of OpenOcd and followed the steps to install it. But it says it could not find ftd2xx.h file. Do I know need to get this header file separately from other source? Should it be included in the source? I don’t know what’s going on.

ft2232.c:44:20: error: ftd2xx.h: No such file or directory

Has anybody else run into this issue? Can somebody let me know how to fix it?

Thanks in advance,

-daa

Interesting thing is openocd does not include this file(ftd2xx.h). If you download the Linux driver(libftd2xx0.4.13.tar.gz)from the following link:

http://www.ftdichip.com/Drivers/D2XX.htm

it includes necessary files with the driver lib file(libftd2xx.so.0.13).

Download libftd2xx0.4.13.tar.gz. Untar it and then copy ftd2xx.h and WinTypes.h to /usr/local/include directory. Then try to build openocd and it will build flawlessly.

-daa