Skip to content

Compiling error with ESP32 / Wifi-Manager (Arduino) #42

@DL5SMB

Description

@DL5SMB

I tried compiling the newest release of the Custom Access Point with Platformio and Arduino without much success.
With Platformio the code compiled and uploaded, but did not do anything (no WIFI Access Point appeared).

On Arduino compiling stopped after logging some warnings, notes and the following error message:

C:\Users\DL5SMB\Documents\Arduino\libraries\WiFiManager-feature_asyncwebserver\WiFiManager.cpp: In member function 'void WiFiManager::WiFi_autoReconnect()': C:\Users\DL5SMB\Documents\Arduino\libraries\WiFiManager-feature_asyncwebserver\WiFiManager.cpp:3486:79: error: no matching function for call to 'WiFiClass::onEvent(std::_Bind_helper<false, void (WiFiManager::*)(arduino_event_id_t, system_event_info_t), WiFiManager*, const std::_Placeholder<1>&, const std::_Placeholder<2>&>::type)' wm_event_id = WiFi.onEvent(std::bind(&WiFiManager::WiFiEvent,this,_1,_2)); // @todo move, needed for async esp32 scannetworks

I think this is a bug of the Wifi-Manager library and the ESP32. Maybe someone can verify this?

I checked out the code before the change to this library, and the old code compiled without errors and the ESP32/Webserver
starts and is accesible.

Sascha

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