Template:LIBFTDI WIN INSTALL
LibFTDI
LibFTDI is an open source FTDI driver you will need to compile OpenOCD. Download libftdi-0.19.tar.gz from http://www.intra2net.com/en/developer/libftdi/download.php, and save it to C:\cygwin\home.
Open the Cygwin command line interface. The default installation will create a shortcut in your start menu, Start Menu > All Programs > Cygwin > Cygwin Bash Shell. Navigate to \home and extract libftdi using gzip:
cd /home tar -zxvf libftdi-0.19.tar.gz
In the Cygwin command console navigate to the folder where you extracted the libFTDI source.
cd /home/libftdi-0.19
Compile with the following commands. Run the first and wait for it to finish, then run the next, and so on:
./configure --build=i686-pc-cygwin --host=i686-pc-mingw32
make
In Cygwin or Windows Explorer, navigate to C:\cygwin\home\libftdi-0.19\src. Find the file ftdi.h and copy it to C:\cygwin\usr\i686-pc-mingw32\sys-root\mingw\include. Then in C:\cygwin\home\libftdi-0.19\src\.libs, find the file libftdi.a, and copy it to C:\cygwin\usr\i686-pc-mingw32\sys-root\mingw\lib.