mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #12] compilation troubles #11
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @velectris on GitHub (Nov 16, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/12
Hi,
Nice job !
i'm trying to compile on arduino ide 1.6.5 and have the following result
Arduino: 1.6.5 (Windows 8.1), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200"
C:\Users\pascal\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'boolean WiFiManager::captivePortal()':
C:\Users\pascal\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:405:20: error: 'class ESP8266WebServer' has no member named 'hostHeader'
if (!isIp(server.hostHeader()) ) {
^
C:\Users\pascal\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:407:82: error: 'class WiFiClient' has no member named 'localIP'
server.sendHeader("Location", String("http://") + toStringIp(server.client().localIP()), true);
^
Error compiling.
Have you an idea of the real source of hostheader / localip compilation problem ?
THX on advance for any help !
Cheers .
@tzapu commented on GitHub (Nov 17, 2015):
hi, you need to install the staging version of the esp8266 for arduino ide package
https://github.com/esp8266/Arduino#staging-version-
let me know if it worked
cheers
@velectris commented on GitHub (Nov 17, 2015):
Hi,
THX for this prompt answer !
Anyway, i have set-up the staging release in my ide, but i have exactly the
same compilation error...
I'm still interested in testing any other way to solve this issue, of
course.
Have a nice day !
Pascal Nuti
www.quantia.fr
www.solable.fr
https://www.linkedin.com/pub/pascal-nuti/17/82a/504
2015-11-17 9:00 GMT+01:00 tzapu notifications@github.com:
@tzapu commented on GitHub (Nov 17, 2015):
hello,
could it be that you have multiple versions of the package or it s libraries from past installs? (hardware folder in arduino documents folder? past install of arduino package that included arduino ide as well?)
using staging fixed that error for everyone so far
cheers
alex
@velectris commented on GitHub (Nov 17, 2015):
Hi, Alex,
Thanks again for your support, you're the king !
In fact, when you told me to change my ide link to staging release, the
arduino ide changed the board manager ( with no prompt at all...) to
arduino Yun !!!
i then re-enabled the esp8266, selected the nodemcu 1.0, and re-compiled,
after rebooting the ide, and all is now perfect !!!
Cheers ! 😁
Pascal Nuti
www.quantia.fr
www.solable.fr
https://www.linkedin.com/pub/pascal-nuti/17/82a/504
2015-11-17 11:05 GMT+01:00 tzapu notifications@github.com:
@tzapu commented on GitHub (Nov 18, 2015):
glad it helped
good luck