Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

Arduino Nano 33 BLE Sense Compilation error: Error: 2 UNKNOWN: exit status 1 #80

Closed AdamMiltonBarker closed 1 year ago

AdamMiltonBarker commented 1 year ago

Hi all, I have used this library before successfully on Arduino Nano 33 BLE Sense however I am working on a new project and simply importing JPEGDecoder.h breaks compilation with the error Compilation error: Error: 2 UNKNOWN: exit status 1 Any suggestions would be welcome as the project is time sensitive.

image

It seems to be related to the SD library.


ResolveLibrary(SD.h)
  -> candidates: []
Using library SPI in folder: C:\Users\intel-vr-1\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.4.1\libraries\SPI (legacy)
Using library JPEGDecoder at version 1.8.1 in folder: c:\Users\intel-vr-1\Documents\Arduino\libraries\JPEGDecoder 
Compilation error: Error: 2 UNKNOWN: exit status 1```
AdamMiltonBarker commented 1 year ago

Never mind this was an issue with SD not being installed by default on Arduino IDE 2 (I assumed it was). For anyone that faces this issue you need to install: "SD By Arduino, Sparkfun", it can be a pain to find it in library manager, I searched "SD Arduino" which finally brought it up buried in the results.