bitbank2 / JPEGDEC

An optimized JPEG decoder suitable for microcontrollers and PCs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation error after #10

moononournation opened this issue · comments

After update to #10 the follow compilation error appear:
In file included from ~/Documents/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:26:0,
from ~/Documents/Arduino/libraries/JPEGDEC/src/jpeg.c:23:
~/Documents/Arduino/hardware/espressif/esp32/libraries/FS/src/FS.h:24:18: fatal error: memory: No such file or directory
compilation terminated.

I just pushed a fix for other issues, but cannot reproduce the problem you're seeing with FS.h. Please do a git pull and see if it works now.

checked same error message

I am using Arduino IDE 1.8.13

just checked it can fix if rename jpeg.c to jpeg.cpp

That sounds like a build issue. Are you using the Arduino IDE?

I am using Arduino IDE 1.8.13 and the error only appear on ESP8266 and ESP32.