libftdi Archives

Subject: Re: MSVC build of libftdi git

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 6 Sep 2011 21:58:21 +0800
On Tue, Sep 6, 2011 at 9:10 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
> For the libftdi.git, the patches are all CMake related. In order
> to build libftdi.git with Cygwin, MinGW, MinGW/MSys and
> MSVC, I need the following patches.
>
> The patches are apparently not correct, especially the 2nd
> and the 3rd as the patches will break Linux.
>


One more issue with libftdi-1.0 git CMake, the detect of
libconfuse is apparently flawed. If you use Linux to cross-compile
for Windows with MinGW, it will wrongly detect the native
libconfuse. But then you can put the correct MinGW files
into the corresponding include and lib dir so that you
can build the final ftdi_eeprom.exe.

Under Windows MinGW, it always say that libconfuse
does not exist. Maybe it is good to let the user specify
the locations of libconfuse, just like libusb-1.0.



-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread