compile error 'Decoders' in namespace 'Eloquent::Vision::IO' does not name a type
deepakrkpa opened this issue · 1 comments
deepakrkpa commented
I am getting below error while compiling the above code in Arduino IDE :
error: 'Decoders' in namespace 'Eloquent::Vision::IO' does not name a type
IO::Decoders::Red565RandomAccessDecoder decoder;
I am using the RGB version of code and try to compile it.
eloquentarduino commented
If you're referring to the tutorial https://eloquentarduino.github.io/2021/01/esp32-cam-motion-detection-with-photo-capture-rgb-version/, then you're missing (because it's missing from the tutorial)
#include <eloquentarduino/vision/io/decoders/Red565RandomAccessDecoder.h>
I fixed the tutorial.
Is it working now?
For the future, always refer to the Github code: that's the exact same code I use and test, the one on the blog is often a revisited version (that may happen not to properly work, like in this case).