Esp32-cam ninja/cmake loop / using idf.py

Hi,
I tried to follow the guidance in https://github.com/edgeimpulse/example-standalone-inferencing-espressif-esp32.
I want to flash my own project, using idf.py.
While trying to build, i’m getting a loop situation with the following log:

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/xxx/Documents/GitHub/example-standalone-inferencing-espressif-esp32/build
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /Users/xxx/Documents/GitHub/example-standalone-inferencing-espressif-esp32/sdkconfig
-- App "ei_standalone_esp32" version: 2e44c6d-dirty
-- Adding linker script /Users/xxx/Documents/GitHub/example-standalone-inferencing-espressif-esp32/build/esp-idf/esp_system/ld/memory.ld

I’m using esp32-cam, on Mac.
I couldn’t find anything online about this specific issue. Will be happy to some guidance.
Thanks

Update: I went and rebuild/flash the EdgeImpulse esp32 firmware from here:

Now, I don’t have that loop again, but got a new error:

/Users/xxx/Documents/GitHub/example-standalone-inferencing-espressif-esp32/main/main.cpp:90:34: error: 'struct ei_impulse_result_' has no member named 'classification'
         ei_printf("%.5f", result.classification[ix].value);
                                  ^~~~~~~~~~~~~~

Since it’s a new issue, I will close this case and open a new subject.
I hope this will help someone in the future.

1 Like