libftdi Archives

Subject: Re: Compiling Async Mode (Was: libftdi-0.20 and libusb-compat-0.1)

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 16 Jul 2012 15:05:19 +0200
Hi Daryl,

On Friday, 6. July 2012 17:31:13 daryllee wrote:
> Thanks to Thomas' suggestion, I have recompiled from the Git repository
> and am now back to where I started: I need async mode and I'm not clear
> on how to get it.  This is in the API under ftdi_write_data_async: "Only
> available if compiled with --with-async-mode."  But that was put there
> in the old "./configure; make; make install" days and now the build
> system uses cmake. How do I build for async mode?  I'm specifically
> missing the symbols "ftdi_write_data_async" and "ftdi_async_complete".

The async API changed with libftdi 1.x. It's now using the official
async API of libusb instead of talking to the kernel directly (=hack).
You need to adapt your client code.

Thomas

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

Current Thread