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


[platformio]
src_dir = car

[env]
framework = arduino
monitor_speed = 115200

[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
upload_protocol = mbed
; upload_protocol = espota
; upload_port = 192.168.1.101
; board_microros_transport = wifi
lib_deps =
    ${env.lib_deps}
    https://github.com/jamon/pi-pico-pio-quadrature-encoder
    adafruit/Adafruit Motor Shield V2 Library@^1.1.1
    adafruit/Adafruit BusIO@^1.14.4
    ;sparkfun/SparkFun Qwiic 6Dof - LSM6DSO@^1.0.3
    spi
    adafruit/Adafruit PWM Servo Driver Library@^3.0.1
    arduino-libraries/WiFi@^1.2.7
   ;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

;[env:esp32-s3-devkitc-1]
;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…

Thanks