Comments (3)
The problem is that ArduCAM.h specifies a marcro called swap() at line 108 and so does the SPIFFS filing system create a macro called swap(). The SPIFFS library is called up by the JPEGDecoder library and hence the conflict is shown.
So the incompatibility is actually between the ArduCAM library and the SPIFFS library.
I suggest you rename the swap macro in the ArduCAM library files (e.g in the .h and .cpp with a search and replace) or do not use SPIFFS.
from jpegdecoder.
I guess that's the problem, now everything compiles fine and I can test tomorrow on the hardware.
Thanks for your fast help and the great effort regarding JPEGDecoder! Nice work !!
from jpegdecoder.
Great, hope your project runs smoothly now.
Some libraries also create macros for min() and max() so that can cause problems too and is something to look out for.
from jpegdecoder.
Related Issues (20)
- PlatformIO TFT_eSPI+SD slot. Problem duplicate func HOT 1
- error: 'SD' was not declared in this scope HOT 1
- I need help of decode jpeg to get demension HOT 1
- How to convert the byte array gotten from decoder on my PC? HOT 7
- drawJpeg is undefined when using lib HOT 1
- ESP32图片无法输出 显示一些密密麻麻的横线
- Suggested Improvement on drawSdJpeg
- tft.setRotation(0,2,3) not right
- Clear / Delete last drawn image HOT 1
- Can not load SD.h
- Example code for UTFT, UTFT_SD.Jpeg does not work for LANDSCAPE HOT 5
- Library example can not be adapted for SdFat.h HOT 2
- Arduino Nano 33 BLE Sense Compilation error: Error: 2 UNKNOWN: exit status 1 HOT 1
- Differend colors with differend jpeg compressonrate. How to use right? HOT 4
- Compilation problem with ESP8266 HOT 5
- Decoded image does not work with LVGL
- esp_littlefs: mount failed HOT 3
- JPG from url HOT 1
- How does JPEGDecoder work on the sprite of tft espi?
- ILI9341 & ESP32 - Unable to open JPEGs from SD Card - File Not Found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpegdecoder.