SwitchBot-MQTT-BLE-ESP32 icon indicating copy to clipboard operation
SwitchBot-MQTT-BLE-ESP32 copied to clipboard

Error when compiling: 'class CRC32' has no member named 'update'

Open Tidle999 opened this issue 1 year ago • 1 comments

Got this compiling error when trying to upload the sketch to my diymore ESP-WROOM-32.

`Arduino: 1.8.19 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None, Disabled"

SwitchBot-BLE2MQTT-ESP32.ino: In function 'uint32_t getPassCRC(std::__cxx11::string&)':

SwitchBot-BLE2MQTT-ESP32:4229:9: error: 'class CRC32' has no member named 'update'

 crc.update(byteBuffer[i]);

     ^~~~~~

SwitchBot-BLE2MQTT-ESP32:4231:27: error: 'class CRC32' has no member named 'finalize'

uint32_t checksum = crc.finalize();

                       ^~~~~~~~

Mehrere Bibliotheken wurden für "WiFi.h" gefunden

Benutzt: *****AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\WiFi

Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\WiFi

exit status 1

'class CRC32' has no member named 'update'

Dieser Bericht wäre detaillierter, wenn die Option "Ausführliche Ausgabe während der Kompilierung" in Datei -> Voreinstellungen aktiviert wäre. `

trying to do it with arduino ide.

any ideas?

Tidle999 avatar Nov 28 '23 00:11 Tidle999