bitbank2 / JPEGDEC

An optimized JPEG decoder for Arduino
Apache License 2.0
366 stars 47 forks source link

Compilation error after #10 #12

Closed moononournation closed 3 years ago

moononournation commented 3 years ago

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.

bitbank2 commented 3 years ago

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.

moononournation commented 3 years ago

checked same error message

moononournation commented 3 years ago

I am using Arduino IDE 1.8.13

moononournation commented 3 years ago

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

bitbank2 commented 3 years ago

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

moononournation commented 3 years ago

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