0

Following approach A from this Arduino SE answer, I managed to kick off an Arduino CLI compilation in a Docker environment.

However, the project I am trying to compile has a dependency on a LCD control library.

Error output:

...../OpenSourceVentilator/OpenSourceVentilator.ino:494:116: 
fatal error: LiquidCrystal_PCF8574.h: 
No such file or directory
compilation terminated.

What is the proper way to link dependencies to the compilation environment of an Arduino project?

While the source suggests a direct compiler call, maybe I need a Makefile instead of the following?

arduino-cli compile --fqbn esp32:esp32:esp32 -o ignored.bin OpenSourceVentilator.ino
J. Doe
  • 127
  • 1
  • 6

1 Answers1

0

If the library is installed the Arduino IDE (or CLI I assume too) just finds it and compiles/links it for you.

Majenko
  • 105,761
  • 5
  • 80
  • 138