Esp8266 Pzem 004t v3.0 verify บน arduino ide แล้วผิดพลาด

สวัสดีครับ จากกระทู้นี้ Pzem 004t v3.0 จะวัดพลังงาน+ค่าใช้จ่าย/เดือน

สอบถามหน่อยนะครับพอดีผมลอง verify แล้วมี error ขึ้นมาตามภาพเลยครับ

หาวิธีดูใน เน็ต แล้วแต่ยังแก้ไขไม่ได้

ใครพอจะอธิบายวิธีการแก้ไขหรือคำแนะนำบ้างครับ

ปล.ไม่เคยเขียนโค๊ดมาก่อนครับ

1 Like

Copy code error ทั้งหมด เลยครับ ผมว่ามันมีดีเทลมากกว่านี้นะ

Error while detecting libraries included by C:\Users\18MongGut\Documents\Arduino\libraries\NewLiquidCrystal-master\SI2CIO.cpp
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_941106/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\variants\\generic" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.4\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_941106\\sketch\\uRTCLib.cpp" -o "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_941106\\sketch\\uRTCLib.cpp.o"
In file included from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/sys/ctype.h:7:0,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/ctype.h:5,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/WString.h:28,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/IPAddress.h:24,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

                 from C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.h:16,

                 from C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.cpp:13:

C:\Users\18MongGut\AppData\Local\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__) "\"")))

                                                                                                                                  ^

C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM'

 const char HTTP_HEAD[] PROGMEM            = "<!DOCTYPE html><html lang=\"en-TH\"><head><meta charset=\"UTF-8\"name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>PUY IOT</title>";

                        ^

In file included from C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.h:17:0,

                 from C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.cpp:13:

C:\Users\18MongGut\AppData\Local\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 };

                                       ^

In file included from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/Arduino.h:32,

                 from C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\PZEMV3_LCD2004_4_Line_Internet_Time.ino.cpp:1:

C:\Users\18MongGut\AppData\Local\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__) "\"")))

                                                                                                                                  ^

C:\Users\18MONG~1\AppData\Local\Temp\arduino_build_941106\sketch\WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM'

 const char HTTP_HEAD[] PROGMEM            = "<!DOCTYPE html><html lang=\"en-TH\"><head><meta charset=\"UTF-8\"name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>PUY IOT</title>";

                        ^

In file included from C:\Users\18MongGut\Downloads\PZEMV3_LCD2004_4_Line_Internet_Time\PZEMV3_LCD2004_4_Line_Internet_Time.ino:4:0:

C:\Users\18MongGut\AppData\Local\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 };

                                       ^

Using library ESP8266WiFi at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi 
Using library ESP8266WebServer at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer 
Using library DNSServer at version 1.1.1 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\DNSServer 
Using library Blynk at version 0.6.1 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\Blynk 
Using library NewLiquidCrystal-master in folder: C:\Users\18MongGut\Documents\Arduino\libraries\NewLiquidCrystal-master (legacy)
Using library Wire at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\Wire 
Using library EEPROM at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\EEPROM 
Using library PZEM-004T-v30 at version 1.0.0 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\PZEM-004T-v30 
Using library SoftwareSerial at version 6.8.5 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial 
exit status 1
Error compiling for board Generic ESP8266 Module.

  1. ตอนติดตั้ง arduino ide ทำตามไหนมาครับ ขอแหล่งอ้างอิงหน่อย
  2. ลง library ตามในกระทู้ครบหรือยัง วิธีลงใช้วิธีแบบไหน

@Remy_Martin

ตอบคำถามที่ 1

ผมได้โหลดโปรแกรม arduino ide 1.8.9 แบบ แตกไฟล์แล้วใช้งานได้เลยนะครับ
ต.ย.

ตอบคำถามที่ 2

ได้ลองลง lib ตามในกระทู้แล้วครับ เห็นว่า lib บางคัวไม่จำเป็นต้องเอาไปใส่ใน User\Documents\Arduino

ผมก็เลยเปิดโปรเจ็คของ พี่ @PUYIOT โดย เปิด arduino ide แล้ว verify ดูครับ ปรากฏ error ตามรูปด่านบนเลยครับ

ปล.1 เนื่องจากนอนไม่ค่อยเป็นเวลาเลยตอบช้า เพราะว่าจะเรียบเรียงขึ้นตอนการทำผิดเพี้ยนไป
อาจจะทำให้แก้ปัญหาไม่ตรงจุด ขออภัย ด้วยครับ

ลงลิ้งค์นี้ใน IDE รึยัง

ไม่ต้องซีเรียสนะครับ ที่นี้ชิวๆ อยากทำตอนไหนก็ ทำตอนนั้น เหมือนผมถ้าว่างก็ตอบ ถ้าไม่ว่างก็อาจจะตอบบ้างแต่สั่นๆ อิอิ

ลงแล้วครับ

เลือกบอร์ดอะไรครับ เวลา verify

เลือกเป็นอันนี้นะ

เหมือนเดิมครับ ยังขึ้นอยู่

#2
ลองลบตัว Arduino IDE แบบไม่ต้องติดตั้งออกไปก่อน แล้วโหลดแบบติดตั้งมาใช้ดู เพราะว่าถ้าไม่ได้ติดตั้ง บาง Part อาจจะหายไป อย่างเช่น เวลาติดตั้ง มันจะสร้าง part ของ arduino ไว้ที่ ไดร์ C แต่ถ้าโหลดมาแบบไม่ต้องติดตั้ง part นั้นอาจจะไม่ถูกสร้างขึ้น ทำให้มันเกิด Error ขึ้นมา ก็เป็นได้

ครับเดียวลอง ทำตามแนะนำดูครับ ได้ผลอย่างไรจะมาบอกครับ

เหมือนเดิมครับ ลองติดตั้งแทนแล้ว ยังติดปัญหาเดิม

#3

ลองเปิด ตัวอย่าง example เช่น esp8266wifi ออกมา verify ดูก่อน ว่าผ่านไหม

ดูเหมือนว่าจะ verify ผ่านนะครับ

1 Like

#4

เอาโค้ตที่ error มาวางในนี้เลยครับแล้ว verify ดู

ล่าสุดลองให้ verify example esp8266wifi ผ่านนะครับ ไม่ติดปัญหาอะไรครับ

คือยังไงครับ ลองเอา โค้ตที่ error มาวางแทนแล้ว verify ดูหรือยัง

อ่อตอนแรกคิดว่าให้ผม ลอง verify กับ code ตัวอื่นก่อน

ที่ไหนได้ แอดมินจะบอกให้ผมเอาโค๊ดของพี่ @PUYIOT ที่มีปัญหาไป verify ที่ example อันใหม่

ลองทำดูแล้วครับ ติดเหมือนเดิม

"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master\\utility" "C:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master\\SI2CIO.cpp" -o nul
Error while detecting libraries included by C:\Users\18MongGut\Documents\Arduino\libraries\NewLiquidCrystal-master\SI2CIO.cpp
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire\\Wire.cpp" -o nul
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM\\EEPROM.cpp" -o nul
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src\\uRTCLib.cpp" -o nul
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30\\PZEM004Tv30.cpp" -o nul
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src\\SoftwareSerial.cpp" -o nul
Generating function prototypes...
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823\\sketch\\sketch_sep21a.ino.cpp" -o "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" "C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/signing.py" --mode header --publickey "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_modified_sketch_897486/public.key" --out "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core/Updater_Signing.h"
"C:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/lwip2/include" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\cores\\esp8266" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\variants\\nodemcu" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\ESP8266WebServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\WiFiManager" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\DNSServer\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\ArduinoJson-5.13.3\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\TridentTD_Linenotify\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\Blynk\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\NewLiquidCrystal-master" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\Wire" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\EEPROM" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\uRTCLib\\src" "-IC:\\Users\\18MongGut\\Documents\\Arduino\\libraries\\PZEM-004T-v30" "-IC:\\Users\\18MongGut\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.7.3\\libraries\\SoftwareSerial\\src" "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823\\sketch\\sketch_sep21a.ino.cpp" -o "C:\\Users\\18MONG~1\\AppData\\Local\\Temp\\arduino_build_679823\\sketch\\sketch_sep21a.ino.cpp.o"
In file included from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include/sys/ctype.h:7:0,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3/tools/sdk/libc/xtensa-lx106-elf/include/ctype.h:5,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\cores\esp8266/WString.h:28,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\cores\esp8266/IPAddress.h:24,

                 from C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

                 from C:\Users\18MONG~1\AppData\Local\Temp\arduino_modified_sketch_897486\sketch_sep21a.ino:3:

C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3/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\18MongGut\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:32:24: note: in expansion of macro 'PROGMEM'

 const char HTTP_HEAD[] PROGMEM            = "<!DOCTYPE html><html lang=\"en\"><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>{v}</title>";

                        ^

In file included from C:\Users\18MONG~1\AppData\Local\Temp\arduino_modified_sketch_897486\sketch_sep21a.ino:4:0:

C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\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 };

                                       ^

Using library ESP8266WiFi at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\ESP8266WiFi 
Using library ESP8266WebServer at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\ESP8266WebServer 
Using library WiFiManager at version 0.11 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\WiFiManager 
Using library DNSServer at version 1.1.1 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\DNSServer 
Using library ArduinoJson-5.13.3 at version 5.13.3 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\ArduinoJson-5.13.3 
Using library TridentTD_Linenotify at version 3.0.1 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\TridentTD_Linenotify 
Using library Blynk at version 0.6.1 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\Blynk 
Using library NewLiquidCrystal-master in folder: C:\Users\18MongGut\Documents\Arduino\libraries\NewLiquidCrystal-master (legacy)
Using library Wire at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\Wire 
Using library EEPROM at version 1.0 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\EEPROM 
Using library uRTCLib at version 6.2.4 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\uRTCLib 
Using library PZEM-004T-v30 at version 1.0.0 in folder: C:\Users\18MongGut\Documents\Arduino\libraries\PZEM-004T-v30 
Using library SoftwareSerial at version 6.8.5 in folder: C:\Users\18MongGut\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3\libraries\SoftwareSerial 
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

1 Like