-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error compiling #31
Comments
Hi |
Still, can’t get it to work, installed your libs, downgraded ESP8266 library to 2.0.0 but same "no matching function for call to 'WiFiManager::WiFiManager()’ “ error
Is there any chance to you help me with this, I have a solar system with an energy meter that I need to “listen”
Thank you
… No dia 23/01/2021, às 11:08, Oleg Moiseenko ***@***.***> escreveu:
Hi
I think it too much outdated(
here:
https://github.com/merlokk/SmartHome/releases <https://github.com/merlokk/SmartHome/releases>
old versions of sources and libraries
needs to compile with them or update the project to use the new libs versions
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABDQIBI42OJKRZSPHJ3H4QDS3KUZTANCNFSM4WPS4K3A>.
|
It looks that WifiManager have not installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
got this error on compiling:
Arduino: 1.8.13 (Mac OS X), Placa:"WeMos D1 R1, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
In file included from /Users/jruibarroso/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,
from /Users/jruibarroso/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63,
from /Users/jruibarroso/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Arduino.h:32,
from /Users/jruibarroso/Documents/Arduino/libraries/autotimezone/autotimezone.h:12,
from /Users/jruibarroso/Documents/Arduino/SmartHome-master/ESP8266EASTRON/ESP8266EASTRON.ino:1:
/Users/jruibarroso/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol
#define PROGMEM attribute((section( "".irom.text." FILE "." __STRINGIZE(LINE) "." __STRINGIZE(COUNTER) """)))
^
/Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:35:24: note: in expansion of macro 'PROGMEM'
const char HTTP_HEAD[] PROGMEM = "<html lang="en"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/><title>{v}</title>";
^
In file included from /Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from sketch/general.h:3,
from /Users/jruibarroso/Documents/Arduino/SmartHome-master/ESP8266EASTRON/ESP8266EASTRON.ino:27:
/Users/jruibarroso/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/libraries/ESP8266WebServer/src/ESP8266WebServer.h:34:39: error: previous declaration of 'HTTPMethod HTTP_HEAD'
enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
^
/Users/jruibarroso/Documents/Arduino/SmartHome-master/ESP8266EASTRON/general.ino: In function 'void wifiSetup(bool)':
general:102:15: error: no matching function for call to 'WiFiManager::WiFiManager()'
WiFiManager wifiManager;
^
/Users/jruibarroso/Documents/Arduino/SmartHome-master/ESP8266EASTRON/general.ino:102:15: note: candidates are:
In file included from sketch/general.h:3:0,
from /Users/jruibarroso/Documents/Arduino/SmartHome-master/ESP8266EASTRON/ESP8266EASTRON.ino:27:
/Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:77:5: note: WiFiManager::WiFiManager(TPrint&)
WiFiManager(TPrint &prn);
^
/Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:77:5: note: candidate expects 1 argument, 0 provided
/Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:74:7: note: WiFiManager::WiFiManager(WiFiManager&&)
class WiFiManager
^
/Users/jruibarroso/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:74:7: note: candidate expects 1 argument, 0 provided
exit status 1
no matching function for call to 'WiFiManager::WiFiManager()'
Can you help me please ?
The text was updated successfully, but these errors were encountered: