luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 466 forks source link

3.0 #1028

Closed kleffa closed 5 months ago

kleffa commented 5 months ago

try to add Whatsapp, but not sure whats wrong, please check if something wrong

luc-github commented 5 months ago

I do not know what it does not work but you should not need the callbot headers . I also saw some bad copy and paste refering homeassistant instead of whatspp...

kleffa commented 5 months ago

I corrected but still Arduino:1.8.19 (Windows 10), Tarjeta:"AI Thinker ESP32-CAM, 240MHz (WiFi/BT), QIO, Huge APP (3MB No OTA/1MB SPIFFS), 80MHz, None, Disabled" C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp: In function 'bool processingFileFunction(const char, const char, const char*)':

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:402:30: error: cannot call constructor 'UpdateService::UpdateService' directly [-fpermissive]

UpdateService::UpdateService() {};

                          ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:402:30: note: for a function-style cast, remove the redundant '::UpdateService'

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:402:31: error: expected ';' before '{' token

UpdateService::UpdateService() {};

                           ^~

                           ;

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:403:31: error: no matching function for call to 'UpdateService::~UpdateService()'

UpdateService::~UpdateService() {};

                           ^

In file included from C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:29:

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.h:29:5: note: candidate: 'UpdateService::~UpdateService()'

 ~UpdateService();

 ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.h:29:5: note: candidate expects 1 argument, 0 provided

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:405:26: error: qualified-id in declaration before '(' token

bool UpdateService::flash(const char* filename, int type) {

                      ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:462:26: error: qualified-id in declaration before '(' token

bool UpdateService::begin() {

                      ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:497:24: error: qualified-id in declaration before '(' token

void UpdateService::end() {}

                    ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:499:27: error: qualified-id in declaration before '(' token

void UpdateService::handle() {}

                       ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:499:31: error: expected '}' at end of input

void UpdateService::handle() {}

                           ^

C:\Users\kleff\Desktop\ESP3D-3.0\esp3d\src\modules\update\update_service.cpp:179:48: note: to match this '{'

                         const char* value) {

                                            ^

Se encontraron varias bibliotecas para "WiFi.h"

Usado: C:\Users\kleff\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.16\libraries\WiFi

No usado: C:\Program Files (x86)\Arduino\libraries\WiFi

exit status 1

Error compilando para la tarjeta AI Thinker ESP32-CAM.

luc-github commented 5 months ago

do you have same issue without your PR? What esp32 core version are you using?

kleffa commented 5 months ago

I compiled it well like 3 days ago, same files, working well, using a esp32cam AI thinker, since most troubles cames from src\modules\update\update_service.cppo , there is something I didnt see there?

luc-github commented 5 months ago

I see line 313 {{ I think only one { is necessary no ? I am on phone I cannot see more

kleffa commented 5 months ago

I did it, but now I'm looking for esp610 where is defined? Because I can't test it because invalid parameter

El sáb, 1 de jun de 2024, 8:12 a. m., Luc @.***> escribió:

I see line 313 {{ I think only one { is necessary no ? I am on phone I cannot see more

— Reply to this email directly, view it on GitHub https://github.com/luc-github/ESP3D/pull/1028#issuecomment-2143427071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMYMBIZ76Z6IWP24HCVZOLZFG3DXAVCNFSM6AAAAABIT7474CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQZDOMBXGE . You are receiving this because you authored the thread.Message ID: @.***>

luc-github commented 5 months ago

https://github.com/kleffa/ESP3D/blob/3.0/esp3d/src/core/commands/ESP610.cpp