jameszah / ESP32-CAM-Video-Recorder

Video Recorder for ESP32-CAM with http server for config and ftp (or http) server to download video
GNU General Public License v3.0
443 stars 101 forks source link

Compilation error #59

Closed mudassar791 closed 2 years ago

mudassar791 commented 2 years ago

ESP32-CAM-Video-Telegram_8.8x.ino:386:19: error: 'class UniversalTelegramBot' has no member named 'sendMultipartFormDataToTelegramWithCaption

Every thing was a mentioned on read me page but still complilatiom failed with above error.

jameszah commented 2 years ago

https://github.com/jameszah/ESP32-CAM-Video-Recorder/blob/master/v99/UniversalTelegramBot.h

Do you have the telegram include .h and .cpp in the same folder as the .ino file?

mudassar791 commented 2 years ago

Yes, both files and .ino file is in same folder.

jameszah commented 2 years ago

https://github.com/jameszah/ESP32-CAM-Video-Recorder/blob/f90207b74c8ac247ef20f3cde9664b5f80844a02/v99/UniversalTelegramBot.h#L72

https://github.com/jameszah/ESP32-CAM-Video-Recorder/blob/f90207b74c8ac247ef20f3cde9664b5f80844a02/v99/UniversalTelegramBot.cpp#L352

Must be something to do with your development environment.

dherakles commented 2 years ago

C:\Users\Dell\Documents\meine Projekte\ESP32-CAM-Video-Recorder-master\v99\TimeLapseAvi99x\TimeLapseAvi99x.ino:140:3: error: conflicting declaration 'typedef enum HTTPMethod HTTPMethod' } HTTPMethod; ^ In file included from C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WebServer\src/WebServer.h:30:0, from c:\Users\Dell\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:88, from C:\Users\Dell\Documents\meine Projekte\ESP32-CAM-Video-Recorder-master\v99\TimeLapseAvi99x\TimeLapseAvi99x.ino:1: C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WebServer\src/HTTP_Method.h:6:26: note: previous declaration as 'typedef enum http_method HTTPMethod' typedef enum http_method HTTPMethod; ^ Compilation error: exit status 1} V98, V98 Man without Error compiled - Arduino IDE 2 / ESP32 1.06

dherakles commented 2 years ago

sorry, falsches Thema