Problem when integrating Thingspeak with Arduino IDE

6 views (last 30 days)
Arduino: 1.8.5 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Build options changed, rebuilding all In file included from c:\programdata\matlab\supportpackages\r2018a\3p.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\algorithm:60:0,
from C:\ProgramData\MATLAB\SupportPackages\R2018a\3P.instrset\arduinoide.instrset\idepkgs\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:255,
from sketch\thingspeak2.ino.cpp:1:
c:\programdata\matlab\supportpackages\r2018a\3p.instrset\arduinoide.instrset\idepkgs\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\utility:68: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 NodeMCU 1.0 (ESP-12E Module).
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
  1 Comment
Jayaram Theegala
Jayaram Theegala on 22 Oct 2018
Hello Prashaant,
1. Have you downloaded the esp8266 libraries from Arduino IDE?
2. If yes, can you try the following steps:
i. Open the preferences file.
This file is usually located at : C:\Users\<user name>\AppData\Local\Arduino15
ii. If its not available at this location open the Arduino IDE-> File tab -> Preferences ->Settings tab Now, at the bottom you can find the location of this preferences.txt.
iv. Open this file
v. Close Arduino IDE
vi. In the preference file opened in step iii, find 'settings.path' entry and set it to a shorter path. If the entry is not present, you can create it. The new path can be outside of MATLAB Support Package location as well, for instance your Desktop folder.
vii. After completing the above step. Reopen Arduino IDE and download the libraries again and see if it resolves the issue.

Sign in to comment.

Answers (0)

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!