Giter Club home page Giter Club logo

Comments (3)

Bodmer avatar Bodmer commented on August 13, 2024

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.

lnetwalker avatar lnetwalker commented on August 13, 2024

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.

Bodmer avatar Bodmer commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.