libftdi Archives

Subject: Re: Can not link with libftdi

From: Ori Idan <ori@xxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 14 Feb 2013 12:09:28 +0200
I thought so and tried the command gcc -lftdi1 -o i2csend i2csend.c

I got the following error:
/usr/bin/ld: cannot find -lftdi1
collect2: error: ld returned 1 exit status

-- 
Ori Idan


On Thu, Feb 14, 2013 at 12:07 PM, Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> wrote:
On Thursday, 14. February 2013 11:55:23 Ori Idan wrote:
> I have tried an old command line:
> gcc -lftdi -o i2csend i2csend.c
>
> I got many errors on all ftdi_xxx functions not found.
> What have changed?

if you are using libftdi 1.x, you need to specify "-lftdi1".

Thomas


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




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


Current Thread