New Lolin NodeMCU V3 cannot compile in Arduino IDE

Hi, I am a noob and very new, trying to learn all these.
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 GitHub - esp8266/Arduino: ESP8266 core for 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.

benxx:
I even had downloaded and pasted files from GitHub - esp8266/Arduino: ESP8266 core for Arduino to my Arduino/hardware/esp8266com/esp8266/ folder.

benxx:
from C:\Documents and Settings\Compaq\Local Settings\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\Esp.cpp:24:

Did you try to do a manual and a Boards Manager installation? Because your first statement indicates a manual installation but your output shows you did a Boards Manager installation. If so you should delete Arduino/hardware/esp8266com/esp8266/.

Please use code tags(</> button on the toolbar) when you post error/warning messages or any other console output.

Installation of ghe ESP8266 Arduini core: GitHub - esp8266/Arduino: ESP8266 core for Arduino

Documentation: GitHub - esp8266/Arduino: ESP8266 core for Arduino

Remember, you must press the Reset + Flash button before attempting to upload from the IDE.
https://github.com/esp8266/Arduino/blob/master/doc/boards.md#nodemcu-10

Acording to the manufacturer, "with a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble". This is more or less true: the board comes with a CP2102 onboard USB to serial adapter which just works, well, the majority of the time. Sometimes flashing fails and you have to reset the board by holding down FLASH + RST, then releasing FLASH, then releasing RST. This forces the CP2102 device to power cycle and to be re-numbered by Linux.+

Ray