undefined reference to `ftdi_init'

I have used libftdi in the past and compiled using the command: gcc -lftdi -o i2csend i2csend.c Everything went fine. Today, on Ubuntu 12.10 I get many errors such as undefined reference...

ftdi_usb_open() returns -8 on Linux, but the same code is working on Mac

I am using FT2232H in SYNC FIFO FT245 mode and I can't get it working on Linux, my code is perfectly working on Mac OS X, but it doesn't on Linux. I have installed both libftdi1 and libftdi-dev...

How to prevent cmake adding "compatibility_version" for gcc?

I'm pretty new to cmake and i'm trying to cross-compile libftdi for ARM Linux (Android). Why cmake adds "-compatibility_version" to gcc command-line which leads to...

SWIG has no output directory when installing ftdi

I'm trying to use ftdi in python on OSX. I thought I installed everything correctly (including dependencies and all), but when i try to import ftdi in my code it says File "simple.py", line 11, in...

Reading back ATmega328p program using FTDI Basic

I am trying to read the application I programmed to an ATMega328p atmel processor using the FDTI Basic small usb board, I am using Avrdude 6.0.1 and I am using the following command: avrdude.exe...

Why does CMake ignore compiler directives

Why is CMake using /usr/bin/cc (c++) and not the compiler I give in the command? [email protected]:/usr/local/src/libftdi1-1.0$ cd...

Installing MySQL 5.6 in Ubuntu 14.04 triggers removal of needed packages

So I was trying to make a fresh installation of MySQL 5.6 on Ubuntu 14.04.2 and for some reason it tried to remove needed packages, not without first complaining about some unmet dependencies....

Download program into AVR chip with FTDI4232

Background info WinAVR: I installed WinAVR, and use avrdude.exe comes with WinAVR to download program into our board. 2. Adapter card: We have an adapter card with FTDI4232 and AVR m328p on it....

Failed to Connect FT232RL Device with Pylibftdi (Thorlabs APT DC Motor Controller)

I have a Thorlabs DC motor controller, which can be detected with the following dmesg log: usb 5-2: new full-speed USB device number 6 using uhci_hcd usb 5-2: New USB device found, idVendor=0403,...

pylibftdi missing libftdi libusb on Windows install

I am trying to write a python bit-banging application to communicate with a FT232H eeprom using pylibftdi (over serial port). I have installed the FT232H .dll using the installer provided by...

Linker error when linking C++ code with USB driver (ftdi)

I am on a Mac OSX and I am trying to start using the C ftdi drivers I installed using brew brew install libftdi That installed the library in the directory /usr/local/Cellar/libftdi/1.2 And I...

Compiler can't find installed library headers

Writing my first application in C and it can't seem to find the header file (which I installed following the instructions in the readme): #include <stdio.h> #include <stdlib.h> #include...

Undefined reference error

EDIT: A complete duplicate of course, isn't the whole point of stackoverflow to ask questions, and get specific answers, the 'answer' you linked me to is: A. For C++, so partly unintelligible B....

ld cannot find existing library in a build context

My build fails with a list of missing libraries: /usr/bin/ld: cannot find -lusb-1.0 /usr/bin/ld: cannot find -lusb /usr/bin/ld: cannot find -lftdi1 /usr/bin/ld: cannot find -lreadline /usr/bin/ld:...

Compiling program with Open Source libFTDI

I use Asus router (based on ARMv7 proc) with Advanced Tomato installed on it as my ARMv7 developer platform. I install compiler (gcc - 5.4.0-1) plus dependencies and libFTDI (libftdi1 - 1.3-1)...

libFTDI based program does not read properly pin state of FT245

I use Asus router (based on ARMv7 proc) with Advanced Tomato installed on it as my ARMv7 developer platform. I install compiler (gcc - 5.4.0-1) plus dependencies and libFTDI (libftdi1 - 1.3-1)...

Is there a way to force libFTDI to make the python packages according to python2.7 instead of python3?

I need to use libFTDI (www.intra2net.com/en/developer/libftdi/download/libftdi1-1.2.tar.bz2) for a project that I'm working on. All my current modules have been written in python2 and so i want...

FTDI kernel driver after using libftdi

I am using a custom board with an FTDI chip (FT4232) to get four serials communication over USB on a Linux system (Fedora 24). When the board is plugged, it is working great, the communication...

MARK parity detection with CMSPAR very unreliable (9 bit UART)

edit-2: Turns out this might actually be a limitation of many USB based adapters, as they always transfer multiple bytes at once to the host, without a place to put information about the...

How do I connect to an FT230 with pylibftdi?

I have exactly one FTDI FT230X connected to my machine. I can see the device using lsusb: $ lsusb Bus 002 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 002...

FT2232H - Irregular clock in SPI mode

I am using an FT2232H with libftdi1 on Linux 64b. I am using the INTERFACE_B in MPSSE bit mode, and transferring large buffers (1024B) over SPI (D2XX command 0x11). When I look at the generated...

Relevant tags