Skip to content

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

@Tidle999

Description

@Tidle999

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions