Hi, I want to use the following library http://dlib.net/ (dlib, version 19.18) in order to use neural networks on the ESP32. But I am facing hard times while trying to compile the library in order to be used in a ESP-IDF project. What I have tried to do is:
- Just extracting the library sources (.h and .cpp) into a folder inside the project (my-project/main/dlib) but it doesn't compile;
- Tried to create a component (it seems that the library is not found);
- Tried to compile the library alone in order to generate a static library (libdlib.a) but it doesn't work (cannot understand how to handle that);
What is the general procedure in order to integrate such library in my ESP-IDF (ESP32) project? What am I missing to do?
How to compile DLib for a ESP32 project?
-
- Posts: 10
- Joined: Fri Jun 21, 2019 1:49 pm
-
- Posts: 1
- Joined: Mon Oct 19, 2020 11:31 am
Re: How to compile DLib for a ESP32 project?
You can add the dlib library in components and then modify this
https://github.com/davisking/dlib/blob/ ... eLists.txt
for the esp32 cmake.
https://github.com/davisking/dlib/blob/ ... eLists.txt
for the esp32 cmake.
-
- Posts: 21
- Joined: Wed Mar 04, 2020 7:14 pm
Re: How to compile DLib for a ESP32 project?
https://github.com/DiplomInformatikerFr ... ib-esp-idf
this is a Sample how to compile it in ESP-IDF with CMAKE.
this is a Sample how to compile it in ESP-IDF with CMAKE.
Who is online
Users browsing this forum: ferrero, Google [Bot] and 77 guests