Open biohazardxxx opened 9 years ago
See README.md : Warning In order to build this with the Arduino IDE, you have to add this on top of ESP_Webconfig.ino (thx to RattyDAVE) .....
yes
Sorry i saw your pull request after. I close this one.
This is still an issue. As wrote even with the includes it is not possible to compile for me. Is my ESP arduino version the right one? Or does it need to be the development version?
I'm using the 1.6.5-1160-gef26c5f version too but with Makefile and command line (https://github.com/thunderace/Esp8266-Arduino-Makefile). I can't test now with Arduino IDE (i have only linux headless for now).
Hi, I can't make it to compile this with the Arduino IDE. I'm on ESP staging version 1.6.5-1160-gef26c5f
Arduino: 1.6.5 (Windows 8.1), Board: "Generic ESP8266 Module, Serial, 160 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS)"
ESP_WebConfig.cpp.o: In function
reset()': C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:21: undefined reference to
server' ESP_WebConfig.cpp.o: In function_M_destroy': c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1926: undefined reference to
adminEnabled' ESP_WebConfig.cpp.o: In functionstd::_Function_base::_Base_manager<setup::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<setup::{lambda()#2}> const&, std::_Manager_operation)': c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference to
ticker' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference totickHandler()' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference to
UDPNTPClient' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference toloadConfig()' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference to
configureWifi()' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference toloadConfig()' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1954: undefined reference to
configureWifi()' ESP_WebConfig.cpp.o: In functionsetup': C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:42: undefined reference to
adminTimeOut' C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:45: undefined reference totick' C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:47: undefined reference to
config' C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:47: undefined reference tofirstStart' ESP_WebConfig.cpp.o: In function
_M_init_functor': c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:1987: undefined reference torefresh' ESP_WebConfig.cpp.o: In function
function<setup()::__lambda0, void>': c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:2452: undefined reference todateTime' c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:2452: undefined reference to
NTPRefresh()' ESP_WebConfig.cpp.o: In function~function': c:\users\Bio\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:2174: undefined reference to
NTPRefresh()' ESP_WebConfig.cpp.o: In functionsetup': C:\PROGRAMMING\arduino-1.6.5/ESP_WebConfig.ino:56: undefined reference to
NTPRefresh()' Page_General.cpp.o:(.text+0xc): undefined reference toconfig' Page_General.cpp.o: In function
send_devicename_value_html()': C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:165: undefined reference toconfig' C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:170: undefined reference to
config' C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:170: undefined reference totext_html_type' C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:170: undefined reference to
saveConfig()' Page_General.cpp.o: In functionsend_general_html()': C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:188: undefined reference to
saveConfig()' C:\Users\Bio\AppData\Local\Temp\build3796484844306567753.tmp/Page_General.cpp:188: undefined reference toconfigureWifi()' Page_Style.css.cpp.o:(.text+0x0): undefined reference to
text_css_type' collect2.exe: error: ld returned 1 exit status Error compiling.