mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1079] error when compiling with NodeMCU v1.0 #919
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#919
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 @Biroooo on GitHub (Jun 12, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1079
Basic Infos
trying to compile with different pc (all windows 10), with different ide (all updated to the latest version), and different NodeMCU v1.0 (all of the same model) I get the same error:
exit status 1
Error during compilation for the NodeMCU 1.0 board (ESP-12E Module).
Debug Messages
Arduino:1.8.12 (Windows 10), Scheda:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, All Flash Contents, 115200"
In file included from C:\Users\leona\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,
C:\Users\leona\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/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) """)))
C:\Users\leona\OneDrive\Documenti\Arduino\libraries\WhareHauoraWiFiManager/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM'
const char HTTP_HEAD[] PROGMEM = "<html lang="en"><head><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>";
In file included from C:\Users\leona\OneDrive\Desktop\wifimanager\wifimanager.ino:6:0:
C:\Users\leona\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\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 };
exit status 1
Errore durante la compilazione per la scheda NodeMCU 1.0 (ESP-12E Module).
Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"
@tablatronix commented on GitHub (Jun 12, 2020):
fixed in 0.15, update