dl_lib.h missing

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 :smiley:

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

(deleted)

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.

Hi.
I tried commenting the lib.....i got the following errors

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

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.