libftdi Archives

Subject: RE: Proper include path for ftdi.h

From: xantares 09 <xantares09@xxxxxxxxxxx>
To: "libftdi@xxxxxxxxxxxxxxxxxxxxxxx" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Oct 2013 08:20:21 +0000


> From: chmorgan@xxxxxxxxx
> Date: Thu, 17 Oct 2013 14:09:19 -0400
> Subject: Proper include path for ftdi.h
> To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hello.
>
> I wanted to confirm the proper include path for libftdi.
>
> libmpsse is doing:
>
> #include <libftdi1/ftdi.h>
>
> But the code in some of the ftdi examples is doing:
>
> #include <ftdi.h>
>
>
> I suspect mpsse is doing this for compatibility with both libftdi 0.x
> and 1.x. What is the recommended include format?
>
> Chris
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>

Definetely #include <ftdi.h>, as LIBFTDI_INCLUDE_DIR is set to <prefix>/include/libftdi1 in the cmake config.
x.




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


Current Thread