unable to compile esp-dl
Posted: Thu Jan 13, 2022 5:58 am
hi,
I'm trying to play around with image recognition on my esp32-cam module (that's why they have a cam )
However. since I wasn't shure if I had correct versions, i deleted my esp-idf and downloaded a new one..
this results in the error:
I've searched for an mnist_coefficient.cpp and haven't found it.
Can someone tell me what I missed?
I'm trying to play around with image recognition on my esp32-cam module (that's why they have a cam )
However. since I wasn't shure if I had correct versions, i deleted my esp-idf and downloaded a new one..
Code: Select all
$ git clone https://github.com/espressif/esp-dl.git
$ git clone https://github.com/espressif/esp-idf.git
$ cd esp-idf
$ ./install.sh
$ source ./export.sh
$ cd ../esp-dl/tutorial
$ idf.py -set-target esp32
Code: Select all
-- Configuring done
CMake Error at /home/tecdroid/esp/esp-idf/tools/cmake/component.cmake:475 (add_library):
Cannot find source file:
/home/tecdroid/esp/esp-dl/tutorial/model/mnist_coefficient.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
main/CMakeLists.txt:19 (idf_component_register)
CMake Error at /home/tecdroid/esp/esp-idf/tools/cmake/component.cmake:475 (add_library):
No SOURCES given to target: __idf_main
Call Stack (most recent call first):
main/CMakeLists.txt:19 (idf_component_register)
-- Build files have been written to: /home/tecdroid/esp/esp-dl/tutorial/build
cmake failed with exit code 1
Can someone tell me what I missed?