Holy ….., you are right. The methods are not included in the ftdi.h on the pi.
I installed libftdi on raspbian by apt. No I checked the version and it is
0.20-2. On my desktop, where I read the fdti.h, I have the latest version from
the webpage (1.3). So, I have to find out how I get the latest version to
raspbian. :-/
> Am 30.11.2016 um 19:13 schrieb Chris Morgan <chmorgan@xxxxxxxxx>:
>
> On Wed, Nov 30, 2016 at 12:59 PM, Oliver Rademaker
> <oli.rademaker@xxxxxxxxx> wrote:
>> No, ftdi.h is included. The other methods are working. The method
>> ftdi_write_data instead is working. That’s my complete code for now:
>>
>
> Can you confirm that those functions are declared in your ftdi.h file?
> For instance mine has:
>
> struct ftdi_transfer_control *ftdi_write_data_submit(struct
> ftdi_context *ftdi, unsigned char *buf, int size);
>
> And can you list more of the error output? Is this at link time or compile
> time?
>
> Chris
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>
signature.asc
Description: Message signed with OpenPGP using GPGMail
|