I have been trying to program an esp8266 using the arduino IDE. I have been able to do this in the past, and I have not made any changes to the arduino IDE since.
I not cannot get the IDE to compile a program with the board set to any of the options for an ESP8266 board. The error is am receiving indicate that the compiler is looking within MATLAB folders. I have previously installed Arduino plugins for MATLAB, but after discovering this issue I uninstalled them yet this has not corrected the problem.
This is the error message I have been receiving:
In file included from C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\Esp.cpp:24:0:
c:\programdata\matlab\supportpackages\r2016b\3p.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:62:31: fatal error: bits/stl_algobase.h: No such file or directory
#include <bits/stl_algobase.h>
To try and correct this I have also uninstalled and reinstalled Arduino IDE the board configurations for ESP8266 (using the board Manager).
Nothing has worked, if anyone has any ideas on how to fix this or have had the same problem. please let me know how you fixed this.