https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
1.解压 libespressif__esp32-camera.zip
2.复制 libespressif__esp32-camera.a 到指定路径
Windows系统:
C:\Users\[UserName]\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.[x-xxxxxxxxx]\esp32s3\lib\libespressif__esp32-camera.a
macOS系统:
/Users/[UserName]/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.[x-xxxxxxxxxxx]/esp32s3/lib/libespressif__esp32-camera.a
Linux系统:
/home/[UserName]/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.[x-xxxxxxxx-xx]/esp32s3/lib/libespressif__esp32-camera.a
3.复制头⽂件 esp_camera.h 和 sensor.h 到指定路径
C:\Users\[UserName]\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.[x-xxxxxxxx]\esp32s3\include\espressif__esp32-camera\driver\include
macOS系统:
/Users/[UserName]/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.[x-xxxxxxxx-xx]/esp32s3/include\espressif__esp32-camera\driver\include
Linux系统:
/home/[UserName]/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.[x-xxxxxxxx-xx]/esp32s3/include\espressif__esp32-camera\driver\include
Unit CAMS3-5MP Arduino Demo CameraWebServer