Hi, First here some background. I am using a MAC Pro laptop, with Arduino version 1.8.5 . This combination has been working well for years. Recently I have been working with a NodeMCU ESP8266 Module and all has been going well for a couple of weeks. A couple of days ago it stopped compiling anything that referred to the <WiFiManager.h> library.
I thought it may have been just my code, so I went back to basics and loaded the 'AutoConnect' example in the WiFiManager examples, but it still would not compile. After many hours of frustration and searching I decided to completely re-install Arduino IDE and the WiFiManager Library.
I removed Arduino and ALL my Libraries. Rebooted my laptop. Reinstalled Arduino. Re-installed the ESP8266 URL reference in the 'Preferences'. Re-installed the WiFiManager Library (From Tzapu). I left it at that to have a bare test bed.
When I loaded the 'AutoConnect' example and tried to compile (Verify) the sketch, it I get this error below:
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Build options changed, rebuilding all
Archiving built core (caching) in: /var/folders/cw/lq5s8qwx55d1xf0sdxv24s800000gn/T/arduino_cache_104021/core/core_esp8266_esp8266_nodemcuv2_CpuFrequency_80,VTable_flash,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_eb58b48fdf84b03a11476c37994da49f.a
libraries/WiFiManager/WiFiManager.cpp.o: In function `WiFiManager::waitForConnectResult()':
/Users/Poppy/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:712: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'
libraries/WiFiManager/WiFiManager.cpp.o: In function `WiFiManager::startWPS()':
/Users/Poppy/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:712: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Can someone help with this please.
Peter :o