Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Using for SmartMatrix #8

Closed
PixelMan222 opened this issue Jun 4, 2021 · 3 comments
Closed

Error When Using for SmartMatrix #8

PixelMan222 opened this issue Jun 4, 2021 · 3 comments

Comments

@PixelMan222
Copy link

I'm trying to compile the code for AnimatedGifs from SmartMatrix and I have downloaded all the libraries I need, when I went to compile it gave me this error message

C:\Users\Ricky\Desktop\Arduino\libraries\GifDecodermaster\src/GifDecoder_Impl.h: In member function 'int GifDecoder<maxGifWidth, maxGifHeight, lzwMaxBits, useMalloc>::startDecoding(uint8_t*, int)':

C:\Users\Ricky\Desktop\Arduino\libraries\GifDecodermaster\src/GifDecoder_Impl.h:323:16: error: 'BIG_ENDIAN_PIXELS' was not declared in this scope

 gif->begin(BIG_ENDIAN_PIXELS, GIF_PALETTE_RGB888);

            ^

Error compiling for board Teensy 3.5.

The error comes from the file GifDecoder_Impl.h and I don't know how to fix it

@embedded-creations
Copy link
Contributor

The AnimatedGIF Library was updated recently to version 1.4.0 with a new API and now isn't compatible with GifDecoder. If you check out an earlier version of AnimatedGIF like 1.3.2 it should work.

@PixelMan222
Copy link
Author

You're my hero

@embedded-creations
Copy link
Contributor

This is fixed if you upgrade to the latest AnimatedGIF: 1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants