On Tue, Apr 3, 2012 at 10:26 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>> One question: I was able to cross-compile libftdi-0.20 on linux
>> for Windows. Is it possible to compile libftdi on Windows natively?
> Yes. Search the mailing list archive. You can use CMake
> and MinGW.org or MinGW-w64.
> An example for libftdi-1.0, libftdi-0.20 is simpler.
The above is a long thread. So you need to read a few
This is simpler.
> If you need Boost C++ binding, you may have to use
> MinGW from here.
I have used the above toolchain to generate the binary
here. I can do it for release 0.20 as well if people want it.
Date of compilation: 27-August-2011
libftdi-git commit: e5fe881640844db2eea48f36cee7a905f5937b8a
To use libftdi git version under Windows, you need to use libusb-win32 driver.
There are two methods to use libusb-win32.
1) To install device driver, use Driver\inf-wizard to replace the
existing FTDI driver to libusb-win32 device driver.
2) To install filter driver, use Driver\libusb-win32-devel-filter-126.96.36.199
to install the filter driver on top of FTDI driver. This will ensure
you can still run FTDI d2xx based application.
The two driver installers works under 32bit and 64bit Windows.
To test if the driver installation is working, run bin\testlibusb-win.exe
to see if the device is recognized and the descriptors are dumped.
The copyright information about libftdi and libusb-win32 are inside
the copyright directory.
The html_doc directory is the doxygen generated compiled HTML document
libusb-win32 wiki is at the following URL.
The bin directory contains the dlls and example program for libftdi git and
libusb-win32 188.8.131.52. The source codes for the examples programs are inside
the source sub-directory.
libusb-win32 source codes can be downloaded at its Sourceforge site.
libusb-0.19 git tree can be found here.
The source code snapshot is also included in the src subdirectory.
Tools used to build this package. This is the first time I am using
non-MinGW.org distro of MinGW (due to the desire to build the Boost
wrapper) and hopefully this does not create big problems.
CMake 2.8.5: http://www.cmake.org/
Doxygen 1.7.1: http://www.stack.nl/~dimitri/doxygen/
MinGW with Boost: http://nuwen.net/mingw.html version 7.2, containing
GCC 4.6.1 and Boost 1.47.0.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx