Skip to content

Some header files not detected by library temporary fix #11

@Greeniac

Description

@Greeniac

If you try to use the library in its current state, it will throw out and error about a file not detected (most likely XCLK.h or Brownout.h) thats because in "camera.h" most header file names are wrong, so i fixed this issue, to use my fix replace all "#include"s in "/src/eloquent_esp32cam/camera/camera.h" with these:


#include <esp_camera.h>
#include "./quality.h"
#include "./Brownout.h"
#include "./XCLK.h"
#include "./Resolution.h"
#include "./Pinout.h"
#include "./Sensor.h"
#include "./pixformat.h"
#include "./rgb_565.h"
#include "../extra/exception.h"
#include "../extra/time/rate_limit.h"
#include "../extra/esp32/multiprocessing/mutex.h"

then save the file and compile and it should compile without any errors!

for some reason the github is only updated to version 1.1.2 but in the arduino library manager its up to 2.2.0, this fix only works with the 2.2.0 that you can only get from arduino as far as i know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions