Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Benn
#55113 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 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.
User avatar
By Benn
#56077 I have used ESP8266 flasher to flash this NodeMCU and then tried with ESPlorer. It works in ESPlorer, I have made it to login to my wifi and able to blink some LEDs. But Arduino IDE still gives me the same problem and I still prefer Arduino IDE nice programming way. Even I have install Python v27 and some others according to Youtube advise, still same.

Anyone can advise what is wrong with my Arduino IDE in my old desktop Windows XP 32bit?