• ตอบกระทู้
  • ตั้งกระทู้ใหม่
QUOTE 

Error แบบนี้แก้ยังไงคับ

Ice
Arduino:1.8.19 (Windows 10), บอร์ด:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Traceback (most recent call last):

File "C:\Users\sahas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0/tools/mkbuildoptglobals.py", line 846, in <module>

sys.exit(main())

File "C:\Users\sahas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0/tools/mkbuildoptglobals.py", line 843, in main

handle_error(0) # commit print buffer

File "C:\Users\sahas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0/tools/mkbuildoptglobals.py", line 262, in handle_error

print(msg_print_buf, file=fd, end='', flush=True)

File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\cp437.py", line 19, in encode

UnicodeEncodeError: 'charmap' codec can't encode characters in position 186-191: character maps to <undefined>

exit status 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Invalid library found in C:\Users\sahas\OneDrive\เอกสาร\Arduino\libraries\anto-esp8266-arduino: no headers files (.h) found in C:\Users\sahas\OneDrive\เอกสาร\Arduino\libraries\anto-esp8266-arduino



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
QUOTE 
ความคิดเห็นที่ #1
เจ้าของร้าน

เกิดจาก onedrive ครับ  ให้ติดตั้ง arduino ใหม่และห้ามไปยุ่นเกี่ยวกับ OneDrive เพราะตัว Arduino อ่านภาษาไทยไดเร็กเทอรี่ คำว่า "เอกสาร" ไม่ได้

QUOTE 
ความคิดเห็นที่ #2
Ice
Arduino:1.8.19 (Windows 10), บอร์ด:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from c:\users\sahas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\xtensa-lx106-elf\include\assert.h:10,

from c:\users\sahas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\xtensa-lx106-elf\include\sys\reent.h:503,

from c:\users\sahas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\xtensa-lx106-elf\include\stdlib.h:18,

from c:\users\sahas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:75,

from c:\users\sahas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\sahas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\cores\esp8266/Arduino.h:27,

from sketch\iot.ino.cpp:1:

D:\arduino\libraries\anto-esp8266-arduino\src/wifimanager/WiFiManager.h:25:24: error: 'const char HTTP_HEAD []' redeclared as different kind of entity

25 | 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 D:\arduino\libraries\anto-esp8266-arduino\src/AntoWiFi.h:6,

from D:\arduino\libraries\anto-esp8266-arduino\src/AntoIO.h:5,

from D:\arduino\iot\iot.ino:1:

C:\Users\sahas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:47:39: note: previous declaration 'HTTPMethod HTTP_HEAD'

47 | enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };

| ^~~~~~~~~
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.


แก้แล้วขึ้นแบบนี้ต่อคับ
QUOTE 
ความคิดเห็นที่ #3
เจ้าของร้าน

อยู่ที่โปรแกรม ลูกค้าแล้ว ครับ  ตรวจสอบ Library  ครับ หรือ code ถูกต้องหรือไม่ 

แสดงความคิดเห็นที่ 1-3 จากทั้งหมด 3 ความคิดเห็น
WEBBOARD-LOGIN-BEFORE-TOPIC-REPLY

Join เป็นสมาชิกร้านค้า

ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
/www.ab.in.th/
Join เป็นสมาชิกร้าน
529
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

ติดต่อร้าน AB-Maker

075-808-080
064-208-3926

ติดต่อเวลา 10.00-17.00 น. 
จันทร์ ถึงวัน ศุกร์ 

Fanpage AB-Maker Arduino Line @AB-Maker Arduino

QR Coard Line

  • ค้นหา
*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

หน้าที่เข้าชม4,510,795 ครั้ง
ผู้ชมทั้งหมด2,466,567 ครั้ง
ร้านค้าอัพเดท6 ก.ย. 2568
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
AB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
Arduino นครศรีธรรมราช หาดใหญ่ สงขลา ยะลา จำหน่าย Arduino อุปกรณ์อิเล็กทรอนิกส์ ไมโครคอนโทรลเลอร์ Uno R3 Nodemcu Esp8266 Esp32 Sensor Module ราคาถูกสุดๆ Support เร็วดูแลลูกค้าอย่างดี
เบอร์โทร : 075808080
อีเมล : [email protected]
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม