hello, trying to compile and upload and i'm getting this error:
Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DOUT, 115200, 1M (64K SPIFFS), ck, Disabled, None"
In file included from C:UsersDDesktoparduino-1.8.5portablesketchbooklibrariesPubSubClientsrc/PubSubClient.h:77:0,
from C:\Users\D\Desktop\arduino-1.8.5\portable\sketchbook\sonoff\sonoff.ino:39:
c:usersDDesktoparduino-1.8.5portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2xtensa-lx106-elfincludec++4.8.2functional:48:28: fatal error: bits/c++config.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.
I have the same problem. How to solve this?
Cannot reproduce. Make sure to follow the wiki at https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE
Hello Theo, I will close the issue as, (as usual,) it was a user error - I had only installed the ArduinoJSON and ESP8266 libraries (as was described in a number of youtube tutorials...) and not ALL the other dependencies you include in the folder in your download.
Had this when my path to the arduino portable was too long. Shortened the path names, and everything compiled as should.
@danialFACT Which libs did you install ?
edit:
I installed all missing libs and still get the same error
@NicoSoftware - there are a number of folders included in the zip download of TASMOTA - move them to the relevant places in your Arduino folder and it should sort you out.
i deleted all the old ardunio and tasmota release code and followed the instruction in Wiki..download and upziped from scratch, moved all the filed needed to corresponding folders......getting the same c++ fatal error. Not sure what to do..please help.
here are the error details
arduino-1.8.5portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2xtensa-lx106-elfincludec++4.8.2algorithm:60:0,
rduino-1.8.5portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2xtensa-lx106-elfincludec++4.8.2algorithm:60:0,
arduino-1.8.5portablepackagesesp8266toolsxtensa-lx106-elf-gcc1.20.0-26-gb404fb9-2xtensa-lx106-elfincludec++4.8.2utility:68:28: fatal error: bits/c++config.h: No such file or directory
#include
^
compilation terminated.
ok resolved the issue after reverting to older version on esp8266 board manager package 2.3.0.
Complied without any errors. teh Tasmota Wiki indicated for 2.3.0 to set Flash Size 1M (no SPIFFS) -- that option was not available so used 1M( 64,...and it seems to be working ok.Tested a couple sonoffs and its functioing. I hope some of the admins can update the Wiki for the newer version of packages. thanks
Most helpful comment
Had this when my path to the arduino portable was too long. Shortened the path names, and everything compiled as should.