Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By rafik73_nodemcu
#48228 Welcome
I have a problem with compiling on the Arduino IDE. I am getting this error:

Code: Select allArduino: 1.6.9 (Windows XP), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

In file included from c:\documents and settings\arduino\ustawienia lokalne\dane aplikacji\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62:0,

                 from C:\Documents and Settings\ARDUINO\Ustawienia lokalne\Dane aplikacji\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\Esp.cpp:24:

c:\documents and settings\arduino\ustawienia lokalne\dane aplikacji\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:28: fatal error: bits/c++config.h: No such file or directory

 #include <bits/c++config.h>

                            ^

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.

module ESP8266-01.
What could be causing this?
User avatar
By twosalycody
#49840 I'm having the same compile error on a fresh install of 1.6.9 on WIN XP with the ESP8266 board only.
A Fresh install of 1.6.9 on WIN 7 works fine.
I've tried a few things with no luck. If I find the fix I'll post it here.

Monday Update:
A lot of files are missing, after about 5 tries of copying files from an older version (1.5.5 r2) I moved the whole esp8266\tools over to 1.6.9, new files came up missing and these file are there. So it must be a XP path problem now and has been. I did notice the newer versions of the IDE have the libraries install in ,
c:\documents and settings\arduino\ ...

I guess I'll stay on WIN 7 to use the 1.6.9 .....
User avatar
By ironheartbj18
#57744 if you are using Window 10. Do this first method to find the AppData folder by doing this.

1 For File Explorer.
2 Select the C drive.
3 On the File Explorer Ribbon, switch to the View Tab.
4 Expand the Option button, by clicking on the black small triangle below the button.
5 Select Change Folder and Search Options.

see as http://www.windows10themes.net/guides/h ... indows-10/

Try to find the folder in somewhere C:\Users\Brian_2\AppData\Local\Arduino15\esp8266 delete it and reinstall from the tools > board > boards manager and search for "esp8266".