-->
Page 1 of 1

Error compiling for board Generic ESP8266 Module.

PostPosted: Sun May 29, 2016 1:50 pm
by rafik73_nodemcu
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?

Re: Error compiling for board Generic ESP8266 Module.

PostPosted: Sun Jun 26, 2016 6:28 pm
by twosalycody
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 .....

Re: Error compiling for board Generic ESP8266 Module.

PostPosted: Wed Jun 29, 2016 2:47 pm
by twosalycody
I tried the zip file instead of the installer for 1.6.9, unzip then put a new folder 'portable' in the arduino 1.6.9 root.
Install all your boards and libraries. My errors went away.
Hope this works for you.

Re: Error compiling for board Generic ESP8266 Module.

PostPosted: Sun Nov 06, 2016 2:54 pm
by ironheartbj18
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".