Skip to content

could not convert from 'String' to 'std::__cxx11::string  #5

Open
@Bazmundi

Description

@Bazmundi

I dropped the Int64String code verbatim into the build enviroment for ESP32 under ESPHome.

Getting the following compile error when trying to use the code:

src/main.cpp: In lambda function:
src/main.cpp:250:25: error: could not convert 'int64String(int64_t, uint8_t, bool)(10, 1)' from 'String' to 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}'
       return int64String(ESP.getEfuseMac(),10,true);

Any ideas how to fix this please?

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