I'm working on a project on esp32cam in which I'm converting an image to base64 for transmission. for this I need to add an external library. I'm currently using Windows 11 and Arduino I.D.E. 2.0.3
i tried adding esp cam header file but it shows me this error
Error: 13 INTERNAL: Library install failed: library not valid. the error occurs when i try to add a zip library of esp32-camera-master in the add .ZIP library
When you added the .zip library, the first error in the IDE, lower-right, says the addition did not succeed. Try to add the .zip again and (look inside the .zip to see that good files exist), or use the Library Manager.
Even if you had successfully installed the ESP32 library, you have "Arduino UNO" selected as the board type so the ESP32 libraries would not be available.
img_convert_jpeg_to_base64 this is the function im trying to use from the zip file. so i tried add .zip file and this error popped up. (i renamed the file to remove the -master from the end as the library is esp_camera.h
then why does it show me this error? i tried verifying the sketch and this error showed up
captureimgandconvertitobase64.ino:50:82: error: 'img_convert_jpeg_to_base64' was not declared in this scope
esp_err_t err = img_convert_jpeg_to_base64(fb->buf, fb->len, &out_buf, &out_len);
^
exit status 1
Compilation error: 'img_convert_jpeg_to_base64' was not declared in this scope```
so then i realized i need to install the header file but it wasnt directly available on library manager so i downloaded the zip file from github but then that shows the above picture
hey. im sorry for the late reply.
so when you said it should be already installed, i searched for esp and to my surprise i actually couldnt find it in the library manager. so i just reinstalled and then everything was fine so thank you