Go Down

Topic: dl_lib.h missing  (Read 8547 times) previous topic - next topic

m4u_hoahoctro

Im compiling a customized sketch for ESP32 Cam, but the IDE shows error: dl_lib.h: No such file or directory found

I have searched but havent had the guide to fix it, please help. Thanks :D

I used both these sketch and they all show the dl_lib missing error:

https://github.com/gumslone/ESP32-CAM-RC-CAR

https://github.com/PepeTheFroggie/ESP32CAM_RCTANK

spycatcher2k

Mrs Drew
-=-
UK Based PCB Manufacturing - PM for details
I will design & code for you, but I will also charge you (PM me)
Use Google or search this site BEFORE asking!

zancos

New ESP32 Arduino version (v 1.03) remove this file "dl_lib.h" (and some others). Depending the sketch, probabily you can just remove this line because in the examples I have been used this library is beeing included but no method or function from this files is used.

If this solution does not work for you, let me know and I will investigate the actual sketch.

jash_sheth

Hi.
I tried commenting the lib.....i got the following errors
Code: [Select]
C:\Users\VAIO\AppData\Local\Temp\arduino_build_606271\sketch\app_httpd.cpp: In function 'esp_err_t capture_handler(httpd_req_t*)':

app_httpd.cpp:75:5: error: 'dl_matrix3du_t' was not declared in this scope

     dl_matrix3du_t *image_matrix = dl_matrix3du_alloc(1, fb->width, fb->height, 3);

     ^

app_httpd.cpp:75:21: error: 'image_matrix' was not declared in this scope

     dl_matrix3du_t *image_matrix = dl_matrix3du_alloc(1, fb->width, fb->height, 3);

                     ^

app_httpd.cpp:75:82: error: 'dl_matrix3du_alloc' was not declared in this scope

     dl_matrix3du_t *image_matrix = dl_matrix3du_alloc(1, fb->width, fb->height, 3);

                                                                                  ^

app_httpd.cpp:91:39: error: 'dl_matrix3du_free' was not declared in this scope

         dl_matrix3du_free(image_matrix);

                                       ^

app_httpd.cpp:99:35: error: 'dl_matrix3du_free' was not declared in this scope

     dl_matrix3du_free(image_matrix);

                                   ^

C:\Users\VAIO\AppData\Local\Temp\arduino_build_606271\sketch\app_httpd.cpp: In function 'esp_err_t stream_handler(httpd_req_t*)':

app_httpd.cpp:115:5: error: 'dl_matrix3du_t' was not declared in this scope

     dl_matrix3du_t *image_matrix = NULL;

     ^

app_httpd.cpp:115:21: error: 'image_matrix' was not declared in this scope

     dl_matrix3du_t *image_matrix = NULL;

                     ^

Multiple libraries were found for "WiFi.h"
 Used: C:\Users\VAIO\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
 Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library WiFi at version 1.0 in folder: C:\Users\VAIO\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
exit status 1
'dl_matrix3du_t' was not declared in this scope

sancho_sk

I know it's a bit too late to answer, but the way I fixed this was to downgrade to ESP32 v 1.0.2
Then, I also needed to modify default python interpreter - the uploader does not work with default python2.7, so I needed to do
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

Afterwards, I was able to compile and upload the camera sketch.

Go Up