Template:LIBFTDI WIN INSTALL

LibFTDI
LibFTDI is an open source FTDI driver you will need to compile OpenOCD. Download libftdi-.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-.tar.gz

In the Cygwin command console navigate to the folder where you extracted the libFTDI source.

Compile with the following commands. Run the first and wait for it to finish, then run the next, and so on:

In Cygwin or Windows Explorer, navigate to C:\cygwin\home\libftdi-\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-\src\.libs, find the file libftdi.a, and copy it to C:\cygwin\usr\i686-pc-mingw32\sys-root\mingw\lib.