unable to compile esp-dl

tecdroid
Posts: 1
Joined: Thu Jan 13, 2022 5:45 am

unable to compile esp-dl

Postby tecdroid » 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 :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?

ESP_Sandra
Posts: 47
Joined: Mon Dec 10, 2018 10:55 am

Re: unable to compile esp-dl

Postby ESP_Sandra » Fri Jan 14, 2022 2:33 am

Hi, is it the same issue reported in Github? https://github.com/espressif/esp-dl/issues/87

Who is online

Users browsing this forum: No registered users and 5 guests