Compiling esp32 Webcam with Ultrasonic Sensor support results in "missing NewPing.h"
Closed this issue · 2 comments
Some dependency seems to be missing.
I will try to compile locally without docker support. Maybe this gives me a hint which dependency is missing in tasmocompiler.
Compiling .pio/build/tasmota32-webcam/lib790/FS/vfs_api.cpp.o
/tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_22_sr04.ino:41:10: fatal error: NewPing.h: No such file or directory
- Looking for NewPing.h dependency? Check our library registry!
- CLI > platformio lib search "header:NewPing.h"
- Web > https://registry.platformio.org/search?q=header:NewPing.h
41 | #include <NewPing.h>
| ^~~~~~~~~~~
compilation terminated.
*** [.pio/build/tasmota32-webcam/src/tasmota.ino.cpp.o] Error 1
Compiling .pio/build/tasmota32-webcam/lib0a6/FFat/FFat.cpp.o
========================= [FAILED] Took 41.93 seconds =========================
Environment Status Duration
tasmota32-webcam FAILED 00:00:41.928
Hi Andreas,
Have a look here:
#366 and follow the mentioned links.
esp32-cam board is somehow "special" and it does not support all features regular esp32 boards do.
Thank you for clarification! I think ESP 32 cam + HC-SR04 should work, so I will try to make a frankenstein-build ...