SparkFun Forums 

Where electronics enthusiasts find answers.

User avatar
By ntsuflame
#202451
I followed the hookup guide and used the board manager for the Arduino IDE but when I went to run the example code to test it I got this error.

In file included from C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\SparkFun\hardware\samd\1.5.4\cores\arduino/Uart.h:25:0,

from C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\SparkFun\hardware\samd\1.5.4\variants\SparkFun_RedBoard_Turbo/variant.h:43,

from C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\SparkFun\hardware\samd\1.5.4\cores\arduino/delay.h:23,

from C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\SparkFun\hardware\samd\1.5.4\cores\arduino/Arduino.h:81,

from sketch\sketch_mar12a.ino.cpp:1:

c:\programdata\matlab\supportpackages\r2016b\3p.instrset\arduinoide.instrset\arduinosam-1.6.7\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\c++\4.8.3\cstddef:41: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 SparkFun RedBoard Turbo.


I am hoping I just downloaded something wrong.
User avatar
By ntsuflame
#202464
my OS is windows 10. I tried the tutorial blink code from the link and I also removed and reinstalled the hardware. I also tried the double tap method.