Closed IkerZamora closed 8 years ago
Should be in /usr/include/ftdi.h
. Do you have the rosdep installed? Which OS?
I am trying to create a bitbake recipe (Yocto) for Kobuki base and hopefully push it to the meta-ros git for everyone to use, but I am having the same issue when trying to cross compile the package using bitbake. The header files exist in the usr/include/libftdi1/
(in the build dir) I manually correct it, then I get a few of compiling errors & complains after the 30% mark of compiling.
so far this "kobuki_ftdi" is the only problematic package in the group and is blocking the job :)
I'm having a similar problem, trying to build from source on Fedora 22 (arm)
Linux localhost 3.10.93 #1 SMP PREEMPT Thu Mar 17 13:30:25 KST 2016 armv7l armv7l armv7l GNU/Linux
I have some libftdi-devel package installed:
dnf list | grep ftdi
libftdi.armv7hl 1.2-1.fc22 @System
libftdi-c++.armv7hl 1.2-1.fc22 @fedora
libftdi-c++-devel.armv7hl 1.2-1.fc22 @fedora
libftdi-devel.armv7hl 1.2-1.fc22 @fedora
libftdi-python.armv7hl 1.2-1.fc22 @fedora
lirc-drv-ftdi.armv7hl 0.9.2a-3.fc22 updates
The package has an ftdi.h file, but its in a separate folder. When I create a link in /usr/include, it looks like the function signatures are not the right ones.
ll /usr/include/libftdi1
total 32
-rw-r--r-- 1 root root 20667 Jun 23 16:49 ftdi.h
-rw-r--r-- 1 root root 6362 Jun 23 16:49 ftdi.hpp
Which OS?
Ubuntu 14.04
Anyway, I fixed the issue by installing libftdi
and libftdi-dev
sudo apt-get install libftdi libftdi-dev
@smehrnia did you manage to get a solution for it? i have the same issues you had
I realise this is an old closed bug, but just for completion since I hit this in Gentoo with libftdi:
It's a bug in the libftdi-1.5 CMakeLists.txt where there are separate includedirs for C and C++ headers. The pkg-config/CMake config files etc do not take it into account and end up just using the libftdipp header directory.
This has been fixed upstream only fairly recently! http://developer.intra2net.com/git/?p=libftdi;a=patch;h=cdb28383402d248dbc6062f4391b038375c52385
sudo apt-get install libftdi* Solved my problem
When trying to compile using
catkin_make_isolated
I get this error:In these diferent files:
I'm using indigo branch.