Hi David.
Can you better explain what you’re trying to do?
To run examples with the ESP32-CAM, you don’t need to install any camera.h library. It is included by default when you install the ESP32 boards in your Arduino IDE.
Regards,
Sara
I was going to compile a camera program that had #camera.h for one of the libraries. The Arduino IDE gave an error stating that the library cant be found Here is the header
#include “esp_camera.h”
#include
// Select camera model
//#define CAMERA_MODEL_WROVER_KIT
//#define CAMERA_MODEL_ESP_EYE
//#define CAMERA_MODEL_M5STACK_PSRAM
//#define CAMERA_MODEL_M5STACK_WIDE
#define CAMERA_MODEL_AI_THINKER
#include “camera_pins.h
The compiler doesn’t like that so I am not sure what to do.
I tried downloading the camera library from github but the error with that is the header files are missing.
Maybe I am going about it wrong so any help would be appreciated. I am trying to set up a home security system with the raspberry pi, 3 ESP32-CAM modules and a couple of ESP32 WROOM modules
Thanks
Dave Ward
Hi Dave.
Do you have an ESP32 board selected in the Boards menu (Tools>Board)?
What’s exactly the name of the header file missing?
The default is esp_camera.h.
If yours is different (camera.h), it may be the case that the code that you’re using as a reference needs another file. What’s the code that you’re using as a reference?
Regards,
Sara
#include “esp_camera.h”
#include
#define CAMERA_MODEL_AI_THINKER
I have that board specified