jameszah / ESP32-CAM-Video-Telegram

Record avi video on ESP32-CAM and send to Telegram on event or request
GNU General Public License v3.0
113 stars 26 forks source link

Error when verifying Compile #58

Open jimthedj65 opened 1 month ago

jimthedj65 commented 1 month ago

I have revisited this after a few years and for some reason version 8.9 on Arduino 2.3.2 I get the following error when verify/compile

Using ESP-EYE with correct pinouts and correct led pin 22 for the flash.

line 438, 1185, 1189, 1208 Compilation error: 'class UniversalTelegramBot' has no member named 'sendMultipartFormDataToTelegramWithCaption'; did you mean 'sendMultipartFormDataToTelegram'?

Any idea what this could be, is it related to a newer version of Arduino

jameszah commented 1 month ago

I think you have the UniveralTelegramBot library installed -- which does not have the ..withCaption routine, instead of bringing all the modules of the program -- which does have the ..withCaption routine.

image

Have you also replaced the quotes with the angle brackets?

//#include <UniversalTelegramBot.h>
#include "UniversalTelegramBot.h"  // use local library which is a modified copy of an old version

There is a much newer version with a pre-compiled installer, but no dicumentation for that yet. I suppose it wouldn;t work with the esp-eye anyway.

jameszah commented 1 month ago

Same issue with ver 8.9 -- dont think arduino version is an issue, other than it has its own libraries.