How to compile DLib for a ESP32 project?
Posted: Wed Oct 23, 2019 1:35 pm
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?
- 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?