utility/Adafruit_PWMServoDriver.h: No such file or directory

; PlatformIO Project Configuration File
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

src_dir = car

framework = arduino
monitor_speed = 115200

platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
upload_protocol = mbed
; upload_protocol = espota
; upload_port =
; board_microros_transport = wifi
lib_deps =
    adafruit/Adafruit Motor Shield V2 Library@^1.1.1
    adafruit/Adafruit BusIO@^1.14.4
    ;sparkfun/SparkFun Qwiic 6Dof - LSM6DSO@^1.0.3
    adafruit/Adafruit PWM Servo Driver Library@^3.0.1
   ;sparkfun/SparkFun RFD77402 Distance Sensor - VCSEL Time of Flight@^1.0.0
   adafruit/Adafruit GFX Library@^1.11.9

build_flags =
    -I ../config
    -D PICO

;platform = espressif32
;board = esp32-s3-devkitc-1

I get

car/zio.cpp:12:10: fatal error: utility/Adafruit_PWMServoDriver.h: No such file or directory

Which leads me to Adafruit PWM Servo Driver Library, which I already have in platformio.ini?

The library provides Adafruit_PWMServoDriver.h, not utility/Adafruit_PWMServoDriver.h. Why does car/zio.cpp want to have it in utilty/?

1 Like

Because of a stupid typo…