Seeking 32x32 GIF/SD Teensy sketch that works!

Louis, I’m not allowed more then 2 replies on this site so I’ve opened another field as a way around the problem. You asked me for the ERROR readout, at least I think you did and here it is. Did you run the sketch and experience the same errors I did?

Arduino: 1.8.16 (Mac OS X), TD: 1.55, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English"











/Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino:135:0: warning: "SD_CS" redefined
     #define SD_CS 15
 ^
/Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino:134:0: note: this is the location of the previous definition
     #define SD_CS BUILTIN_SDCARD
 ^
In file included from /Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino:80:0:
/Users/alfredolivas/Documents/Arduino/libraries/SmartMatrix/src/MatrixHardware_Teensy3_ShieldV1toV3.h:29:17: note: #pragma message: MatrixHardware: SmartMatrix Shield for Teensy 3 V1-V3
 #pragma message "MatrixHardware: SmartMatrix Shield for Teensy 3 V1-V3"
                 ^
In file included from /Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino:86:0:
/Users/alfredolivas/Documents/Arduino/libraries/SmartMatrix/src/SmartMatrix.h:40:21: note: #pragma message: SmartMatrix Library version 4.000.003
 #    pragma message "SmartMatrix Library version 4.000.003"
                     ^
In file included from /Users/alfredolivas/Documents/Arduino/libraries/GifDecoder/src/GifDecoder.h:111:0,
                 from /Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino:90:
/Users/alfredolivas/Documents/Arduino/libraries/GifDecoder/src/GifDecoder_Impl.h: In member function 'int GifDecoder<maxGifWidth, maxGifHeight, lzwMaxBits, useMalloc>::startDecoding()':
/Users/alfredolivas/Documents/Arduino/libraries/GifDecoder/src/GifDecoder_Impl.h:269:16: error: 'BIG_ENDIAN_PIXELS' was not declared in this scope
     gif->begin(BIG_ENDIAN_PIXELS, GIF_PALETTE_RGB888);
                ^
/Users/alfredolivas/Documents/Arduino/libraries/GifDecoder/src/GifDecoder_Impl.h: In member function 'int GifDecoder<maxGifWidth, maxGifHeight, lzwMaxBits, useMalloc>::startDecoding(uint8_t*, int)':
/Users/alfredolivas/Documents/Arduino/libraries/GifDecoder/src/GifDecoder_Impl.h:323:16: error: 'BIG_ENDIAN_PIXELS' was not declared in this scope
     gif->begin(BIG_ENDIAN_PIXELS, GIF_PALETTE_RGB888);
                ^
/Volumes/EXTERNAL HD/Arduino/Sketchbook/SmartMatrix-master/examples/ANMITEDGIFSMOD01/ANMITEDGIFSMOD01.ino: At global scope:
ANMITEDGIFSMOD01:172: error: 'decoder' does not name a type
     decoder.setScreenClearCallback(screenClearCallback);
     ^
ANMITEDGIFSMOD01:173: error: 'decoder' does not name a type
     decoder.setUpdateScreenCallback(updateScreenCallback);
     ^
ANMITEDGIFSMOD01:174: error: 'decoder' does not name a type
     decoder.setDrawPixelCallback(drawPixelCallback);
     ^
ANMITEDGIFSMOD01:176: error: 'decoder' does not name a type
     decoder.setFileSeekCallback(fileSeekCallback);
     ^
ANMITEDGIFSMOD01:177: error: 'decoder' does not name a type
     decoder.setFilePositionCallback(filePositionCallback);
     ^
ANMITEDGIFSMOD01:178: error: 'decoder' does not name a type
     decoder.setFileReadCallback(fileReadCallback);
     ^
ANMITEDGIFSMOD01:179: error: 'decoder' does not name a type
     decoder.setFileReadBlockCallback(fileReadBlockCallback);
     ^
ANMITEDGIFSMOD01:182: error: 'decoder' does not name a type
     decoder.setFileSizeCallback(fileSizeCallback);
     ^
ANMITEDGIFSMOD01:184: error: 'Serial' does not name a type
     Serial.begin(115200);
     ^
ANMITEDGIFSMOD01:187: error: expected constructor, destructor, or type conversion before '(' token
     delay(1000);
          ^
ANMITEDGIFSMOD01:189: error: 'Serial' does not name a type
     Serial.println("Starting AnimatedGIFs Sketch");
     ^
ANMITEDGIFSMOD01:193: error: 'matrix' does not name a type
     matrix.addLayer(&backgroundLayer); 
     ^
ANMITEDGIFSMOD01:195: error: 'matrix' does not name a type
     matrix.addLayer(&scrollingLayer); 
     ^
ANMITEDGIFSMOD01:198: error: 'matrix' does not name a type
     matrix.setBrightness(defaultBrightness);
     ^
ANMITEDGIFSMOD01:205: error: 'matrix' does not name a type
     matrix.begin();
     ^
ANMITEDGIFSMOD01:220: error: 'backgroundLayer' does not name a type
     backgroundLayer.fillScreen(COLOR_BLACK);
     ^
ANMITEDGIFSMOD01:221: error: 'backgroundLayer' does not name a type
     backgroundLayer.swapBuffers();
     ^
ANMITEDGIFSMOD01:224: error: expected unqualified-id before 'if'
     if(initFileSystem(SD_CS) < 0) {
     ^
ANMITEDGIFSMOD01:233: error: 'num_files' does not name a type
     num_files = enumerateGIFFiles(GIF_DIRECTORY, true);
     ^
ANMITEDGIFSMOD01:235: error: expected unqualified-id before 'if'
     if(num_files < 0) {
     ^
ANMITEDGIFSMOD01:243: error: expected unqualified-id before 'if'
     if(!num_files) {
     ^
ANMITEDGIFSMOD01:250: error: expected declaration before '}' token
 }
 ^
Multiple libraries were found for "AnimatedGIF.h"
 Used: /Users/alfredolivas/Documents/Arduino/libraries/AnimatedGIF
 Not used: /Users/alfredolivas/Documents/Arduino/libraries/AnimatedGIF-master
Multiple libraries were found for "SD.h"
 Used: /private/var/folders/5c/6t7s01sn4db00kncp3sf1wpr0000gn/T/AppTranslocation/0D73F15D-34F6-4EF1-BE7A-B65DD3FA3197/d/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SD
 Not used: /private/var/folders/5c/6t7s01sn4db00kncp3sf1wpr0000gn/T/AppTranslocation/0D73F15D-34F6-4EF1-BE7A-B65DD3FA3197/d/Arduino.app/Contents/Java/libraries/SD
Multiple libraries were found for "SdFat.h"
 Used: /Users/alfredolivas/Documents/Arduino/libraries/SdFat
 Not used: /private/var/folders/5c/6t7s01sn4db00kncp3sf1wpr0000gn/T/AppTranslocation/0D73F15D-34F6-4EF1-BE7A-B65DD3FA3197/d/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat
 Not used: /Users/alfredolivas/Documents/Arduino/libraries/SdFat_-_Adafruit_Fork
'decoder' does not name a type


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

You may have an old or incompatible version of AnimatedGIF installed. See this note:

Multiple libraries were found for "AnimatedGIF.h"
 Used: /Users/alfredolivas/Documents/Arduino/libraries/AnimatedGIF
 Not used: /Users/alfredolivas/Documents/Arduino/libraries/AnimatedGIF-master

You should probably delete both AnimatedGIF and AnimatedGIF-master directories and download and install just the latest. Or ideally use Arduino Library Manager to install it instead.

Compare to my truncated output from compiling the sketch just now, and the version numbers of the libraries:











/Applications/Teensyduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Teensyduino.app/Contents/Java/hardware -hardware /Users/louis/Library/Arduino15/packages -tools /Applications/Teensyduino.app/Contents/Java/tools-builder -tools /Applications/Teensyduino.app/Contents/Java/hardware/tools/avr -tools /Users/louis/Library/Arduino15/packages -built-in-libraries /Applications/Teensyduino.app/Contents/Java/libraries -libraries /Users/louis/Dropbox/Dev/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us -vid-pid=0000_0000 -ide-version=10816 -build-path /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925 -warnings=all -build-cache /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_cache_80576 -verbose /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_modified_sketch_911393/AnimatedGifs.ino
/Applications/Teensyduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Teensyduino.app/Contents/Java/hardware -hardware /Users/louis/Library/Arduino15/packages -tools /Applications/Teensyduino.app/Contents/Java/tools-builder -tools /Applications/Teensyduino.app/Contents/Java/hardware/tools/avr -tools /Users/louis/Library/Arduino15/packages -built-in-libraries /Applications/Teensyduino.app/Contents/Java/libraries -libraries /Users/louis/Dropbox/Dev/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us -vid-pid=0000_0000 -ide-version=10816 -build-path /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925 -warnings=all -build-cache /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_cache_80576 -verbose /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_modified_sketch_911393/AnimatedGifs.ino
Using board 'teensy31' from platform in folder: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr
Using core 'teensy3' from platform in folder: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr
Detecting libraries used...
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for MatrixHardware_Teensy3_ShieldV1toV3.h: [SmartMatrix@4.0.3]
ResolveLibrary(MatrixHardware_Teensy3_ShieldV1toV3.h)
  -> candidates: [SmartMatrix@4.0.3]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for SD.h: [SD@1.2.4 SD@2.0.0]
ResolveLibrary(SD.h)
  -> candidates: [SD@1.2.4 SD@2.0.0]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for SdFat.h: [SdFat_-_Adafruit_Fork@1.2.3 SdFat@2.0.5-beta.1]
ResolveLibrary(SdFat.h)
  -> candidates: [SdFat_-_Adafruit_Fork@1.2.3 SdFat@2.0.5-beta.1]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for GifDecoder.h: [GifDecoder@1.1.0]
ResolveLibrary(GifDecoder.h)
  -> candidates: [GifDecoder@1.1.0]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
Alternatives for AnimatedGIF.h: [AnimatedGIF@1.4.1]
ResolveLibrary(AnimatedGIF.h)
  -> candidates: [AnimatedGIF@1.4.1]
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /dev/null
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/FilenameFunctions.cpp -o /dev/null
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/CircularBuffer_SM.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_apple4x6_256.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_apple5x7_256.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_apple6x10.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_apple8x13.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_gohufont6x11.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_gohufont6x11b.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Font_tom_thumb.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/Layer.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixEsp32Hub75Calc.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixFont.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixPanelMaps.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixTeensy3Hub75Refresh.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixTeensy4Apa102Refresh.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixTeensy4Hub75Refresh.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/esp32_i2s_parallel.c
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/lib/FlexIO_t4/FlexIOSPI.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/lib/FlexIO_t4/FlexIO_t4.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/lib/FlexIO_t4/FlexSerial.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI/SPI.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src/SD.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatDbg.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatFile.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatFilePrint.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatFileWrite.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatFormatter.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatPartition.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/ExFatVolume.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/ExFatLib/upcase.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatDbg.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatFile.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatFileLFN.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatFilePrint.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatFileSFN.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatFormatter.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatPartition.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FatLib/FatVolume.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FreeStack.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FsLib/FsFile.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FsLib/FsNew.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/FsLib/FsVolume.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/MinimumSerial.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SdCard/SdCardInfo.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SdCard/SdSpiCard.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SdCard/SdioTeensy.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiArtemis.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiChipSelect.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiDue.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiESP.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiParticle.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiSTM32.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/SpiDriver/SdSpiTeensy3.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/FmtNumber.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/FsCache.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/FsDateTime.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/FsStructs.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/PrintBasic.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/common/SysCallBareUno.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/iostream/StdioStream.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/iostream/StreamBaseClass.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/iostream/istream.cpp
Using cached library dependencies for file: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src/iostream/ostream.cpp
Using cached library dependencies for file: /Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src/AnimatedGIF.cpp
Generating function prototypes...
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Teensyduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/precompile_helper /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925 /Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -x c++-header -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -MMD -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/pch/Arduino.h -o /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/pch/Arduino.h.gch
Using previously compiled file: /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/pch/Arduino.h.gch
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -MMD -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/pch -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp -o /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/AnimatedGifs.ino.cpp.o
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -mno-unaligned-access -MMD -fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=155 -DARDUINO=10816 -DARDUINO_TEENSY32 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/pch -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3 -I/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD/src -I/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder/src -I/Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF/src /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/FilenameFunctions.cpp -o /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/sketch/FilenameFunctions.cpp.o
In file included from /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_modified_sketch_911393/AnimatedGifs.ino:80:0:
/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/MatrixHardware_Teensy3_ShieldV1toV3.h:29:17: note: #pragma message: MatrixHardware: SmartMatrix Shield for Teensy 3 V1-V3
 #pragma message "MatrixHardware: SmartMatrix Shield for Teensy 3 V1-V3"
                 ^
In file included from /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_modified_sketch_911393/AnimatedGifs.ino:84:0:
/Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix/src/SmartMatrix.h:40:21: note: #pragma message: SmartMatrix Library version 4.000.003
 #    pragma message "SmartMatrix Library version 4.000.003"
                     ^
Compiling libraries...
Compiling library "SmartMatrix"
Using previously compiled file: /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/libraries/SmartMatrix/Font_apple4x6_256.c.o
Using previously compiled file: /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/libraries/SmartMatrix/Font_apple5x7_256.c.o
Using previously compiled file: /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/libraries/SmartMatrix/Font_apple6x10.c.o

...


/var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/../arduino_cache_80576/core/core_teensy_avr_teensy31_usb_serial,speed_96,opt_o2std,keys_en-us_f6c71ab135b5ea482d3800864e505553.a -L/var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925 -larm_cortexM4l_math -lm -lstdc++
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.elf /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.eep
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.elf /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.hex
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/teensy_secure encrypthex TEENSY32 /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.hex
This board does not support code encryption
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/teensy_post_compile -file=AnimatedGifs.ino -path=/var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925 -tools=/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/ -board=TEENSY32
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/stdout_redirect /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.sym /Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump -t -C /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.elf
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/teensy_size /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.elf
Multiple libraries were found for "SD.h"
 Used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD
 Not used: /Applications/Teensyduino.app/Contents/Java/libraries/SD
Multiple libraries were found for "SdFat.h"
 Used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat
 Not used: /Users/louis/Dropbox/Dev/Arduino/libraries/SdFat_-_Adafruit_Fork
Using library SmartMatrix at version 4.0.3 in folder: /Users/louis/Dropbox/Dev/Arduino/libraries/SmartMatrix 
Using library SPI at version 1.0 in folder: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI 
Using library SD at version 2.0.0 in folder: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD 
Using library SdFat at version 2.0.5-beta.1 in folder: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SdFat 
Using library GifDecoder at version 1.1.0 in folder: /Users/louis/Dropbox/Dev/Arduino/libraries/GifDecoder 
Using library AnimatedGIF at version 1.4.1 in folder: /Users/louis/Dropbox/Dev/Arduino/libraries/AnimatedGIF 
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-size -A /var/folders/n6/l3jqlyms0r37qb1s_swjcqf00000gn/T/arduino_build_772925/AnimatedGifs.ino.elf
Sketch uses 74008 bytes (28%) of program storage space. Maximum is 262144 bytes.
Global variables use 41128 bytes (62%) of dynamic memory, leaving 24408 bytes for local variables. Maximum is 65536 bytes.