if compiled with cxx, the installed cmake file defines /usr/include/libftdipp1 as include dir which seems to be wrong. ftdi.h got not found. see also http://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=cdb28383402d248dbc6062f4391b038375c52385;hp=5c2c58e03ea999534e8cb64906c8ae8b15536c30 Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c858127655bd6543d301f40a24200f2b592b57 commit a4c858127655bd6543d301f40a24200f2b592b57 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-10 04:51:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-10 04:51:12 +0000 dev-embedded/libftdi: add upstream CMake patch Closes: https://bugs.gentoo.org/775116 Signed-off-by: Sam James <sam@gentoo.org> .../libftdi/files/libftdi-1.5-cmake-cxx.patch | 46 +++++++++++ dev-embedded/libftdi/libftdi-1.5-r3.ebuild | 96 ++++++++++++++++++++++ 2 files changed, 142 insertions(+)
Thanks. Let me know if this fixes your issue.
thanks Sam, this seems to work