Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By bhofmann
#52603 Newbie here. I just installed the ESP8266 board additions for the Arduino IDE (1.6.8) and when I try to compile the "Blink" example under ESP8266, I get the following error:

Arduino: 1.6.8 (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\benjamin c. hofmann\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:0,

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

c:\documents and settings\benjamin c. hofmann\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: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.



Any thoughts on how to remedy this?

-Ben Hofmann
User avatar
By bhofmann
#87055 It's been quite a while, but if I remember correctly the problem was that the file path was too long. I created a new windows user for which the name was only a couple of characters long, and installed the IDE under that account so that the file path was shortened.
User avatar
By schufti
#87056 or, even simpler, do yourself a favour and do a "portable" install of the arduino ide to a simple location (e.g. d:\arduino)
This helps to keep files in a known place and avoids screw-ups due to "residual" files on new installations.
Plus it helps to have parallel installations and move data (sketches, libs, boards) from one installation to the next.