Page 1 of 1

unable to compile esp-dl

Posted: Thu Jan 13, 2022 5:58 am
by tecdroid
hi,
I'm trying to play around with image recognition on my esp32-cam module (that's why they have a cam :D )

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
this results in the error:

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
I've searched for an mnist_coefficient.cpp and haven't found it.
Can someone tell me what I missed?

Re: unable to compile esp-dl

Posted: Fri Jan 14, 2022 2:33 am
by ESP_Sandra
Hi, is it the same issue reported in Github? https://github.com/espressif/esp-dl/issues/87