Hello SparkFun Forum
Having trouble getting my MP3 Shield code to compile
so I compiled one of the Examples from the Library called
HelloWorld. I still get
Arduino: 1.6.3 (Windows 7), Board: “Arduino Uno”
Build options changed, rebuilding all
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10603 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard C:\Users\i339617\AppData\Local\Temp\build1250832126593337175.tmp\HelloWorld.cpp -o C:\Users\i339617\AppData\Local\Temp\build1250832126593337175.tmp\HelloWorld.cpp.o
HelloWorld.ino:1:19: fatal error: SdFat.h: No such file or directory
compilation terminated.
Error compiling.
So the compiler can’t find SDFat.h.
I followed the Install Library
https://learn.sparkfun.com/tutorials/mp … eld-hookup
and
https://learn.sparkfun.com/tutorials/in … no-library
to the T.
The folder called
Sparkfun_MP3_Player_Shield_Arduino_Library_Master
is installed at
C:\Users\i339617\My Documents\Arduino\libraries
in that folder is the SDFat folder and in thet folder
is the SDFat.h file.
I have copied and deleted it in every folder I can think of.
In the IDE I can go to File > Examples and see the
Sparkfun_MP3_Player_Shield_Arduino_Library_Master
entry.
I can open examples that use other library files and compile
those sketches
But I can’t get past #include <SdFat.h> statement to complie.
Thanks
Allen in Dallas