All masters, please kindly advise this problem.
I have bought a new Lolin NodeMCU V3 (CH340G) and trying to test on Windows Arduino IDE ver 1.6.10 using the Examples-Basics-Blink sketch. Some youtube showed so simple just install and test. But I keep having this same error.
I even had downloaded and pasted files from https://github.com/esp8266/Arduino to my Arduino/hardware/esp8266com/esp8266/ folder.
My system on IDE showed my settings:
NodeMCU 1.0(ESP-12E Module), 80Mhz, 9600, 4M (3M SPIFFS) on COM5 (my device location), Programmer: AVRISP mkII.
Arduino: 1.6.10 (Windows XP), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 9600, 4M (3M SPIFFS)"
Error:
Build options changed, rebuilding all
In file included from c:\documents and settings\compaq\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algobase.h:59:0,
from c:\documents and settings\compaq\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62,
from C:\Documents and Settings\Compaq\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\Esp.cpp:24:
c:\documents and settings\compaq\local settings\application data\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf\bits\c++config.h:429:30: fatal error: bits/cpu_defines.h: No such file or directory
#include <bits/cpu_defines.h>
^
compilation terminated.
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.