FrameworkComputer / EmbeddedController

Embedded Controller firmware for the Framework Laptop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error on Ubuntu 22.04.2 LTS: <ftdi.h> not found

arthursw opened this issue · comments

I cloned the repo and ran make utils . ; but got:


EmbeddedController$ make utils .
make: pkg-config: Aucun fichier ou dossier de ce type                      // No files of this type
make: pkg-config: Aucun fichier ou dossier de ce type
  VERSION ec_version.h
  HOSTCC  util/ectool
  HOSTCC  util/lbplay
  HOSTCC  util/stm32mon
  HOSTCC  util/ec_sb_firmware_update
  HOSTCC  util/lbcc
  HOSTCC  util/ec_parse_panicinfo
  HOSTCC  util/cbi-util
  HOSTCC  util/uartupdatetool
  BUILDCC util/ec_uartd
util/ec_uartd.c:24:10: fatal error: ftdi.h: Aucun fichier ou dossier de ce type          // No file of this type
   24 | #include <ftdi.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile.rules:614 : build/bds/util/ec_uartd] Erreur 1    // Error 1


on Ubuntu 22.04.2 LTS, with libftdi1-2 installed (libftdi1-2/jammy,now 1.5-5build3 amd64).

Hi @arthursw, Canonical package the headers for libraries separate from the shared library files. Try again with the package libftdi1-dev installed.

Ouch, sorry I didn't even read the Readme, I only read this post. Sorry again about that!