I created a new project in PlatformIO using these settings:
Board: Lolin 32 /ESP32)
Platform: Arduino
Then I added this library using:
lib_deps =
TensorFlowLite_ESP32
This adds TensorFlowLite_ESP32 in version 0.9.0 to the project.
When I compile this project I get the following error:
Compiling .pio\build\lolin32\lib9b1\TensorFlowLite_ESP32\tensorflow\lite\experimental\micro\kernels\logical.cpp.o
In file included from .pio\libdeps\lolin32\TensorFlowLite_ESP32\src\tensorflow\lite\experimental\micro\kernels\floor.cpp:19:0:
.pio\libdeps\lolin32\TensorFlowLite_ESP32\src/tensorflow/lite/kernels/kernel_util.h:22:47: fatal error: tensorflow/lite/c/builtin_op_data.h: No such file or directory
Here's the full build output:
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lolin32.html
PLATFORM: Espressif 32 1.12.4 > WEMOS LOLIN32
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Looking for TensorFlowLite_ESP32 library in registry
c:\users\visbbr.platformio\penv\lib\site-packages\urllib3\connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'gateway.zscloud.net'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
Found: https://platformio.org/lib/show/7394/TensorFlowLite_ESP32
LibraryManager: Installing id=7394
c:\users\visbbr.platformio\penv\lib\site-packages\urllib3\connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'gateway.zscloud.net'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
c:\users\visbbr.platformio\penv\lib\site-packages\urllib3\connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'gateway.zscloud.net'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
c:\users\visbbr.platformio\penv\lib\site-packages\urllib3\connectionpool.py:988: InsecureRequestWarning: Unverified HTTPS request is being made to host 'gateway.zscloud.net'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
I created a new project in PlatformIO using these settings:
Then I added this library using:
lib_deps = TensorFlowLite_ESP32
This adds TensorFlowLite_ESP32 in version 0.9.0 to the project.
When I compile this project I get the following error:
Here's the full build output: