I’m going through tutorial for SunFounder ESP32 Ultimate Starter Kit. I’m trying to compile the file iot_2_camera_server.ino. When I try to compile it, I get this error:
Documents\Arduino\Libraries\esp32-starter-kit-main\c\codes\iot_2_camera_server\app_httpd.cpp:45:10: fatal error: human_face_detect_msr01.hpp: No such file or directory
45 | #include “human_face_detect_msr01.hpp”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: human_face_detect_msr01.hpp: No such file or directory
I’ve been enjoying these tutorials. So far all have worked great except for this one. I’ve tried searching for a solution but have not had any luck yet.
Here’s a link to the tutorial. I did try to re-download the code but no luck.
Does anyone have an idea what I should do now? Thank you for any assistance!
UPDATE: I tried commenting out these two lines in the app_httpd.cpp file:
//#include “human_face_detect_msr01.hpp”
//#include “human_face_detect_mnp01.hpp”
That allowed the compilation to complete. It uploaded OK. I ran the serial monitor and I see this output:
20:01:22.357 → …
20:01:24.362 → WiFi connected
20:01:24.362 → Camera Ready! Use ‘http://192.xxx.xxx.70’ to connect
It seems to be missing the lines:
Starting web server on port: ‘80’
Starting stream server on port: ‘81’
Unfortunately when I go to the ip address in my browser nothing comes up. I guess I’ll try debugging by adding serial monitor logging statements. Any suggestions would be appreciated. Thanks again!
We tested this ourselves. After downloading the esp32-starter-kit-main.zip code package, we extracted it into the esp32-starter-kit-main folder and opened the iot_2_camera_server file. In the default app_httpd.cpp file, the following two lines are not commented out:
#include "human_face_detect_msr01.hpp"
#include "human_face_detect_mnp01.hpp"
We changed the SSID and PASSWORD in the iot_2_camera_server code to match our home Wi‑Fi network, then uploaded the code directly, and it uploaded successfully.
Before uploading, you need to:
- Enable PSRAM
- Set the Partition Scheme to “Huge APP (3MB No OTA/1MB SPIFFS)”
These steps are explained in detail in the tutorial:
I am having the same issue. I downloaded https://github.com/sunfounder/esp-cam-kit/archive/refs/heads/main.zip and after changing the ssid and password, I tried to verify and upload. I receive the following error:
C:\Users\fmcke\Downloads\esp-cam-kit-main\esp-cam-kit-main\related_projects\2.13_camera_web_server\app_httpd.cpp:45:10: fatal error: human_face_detect_msr01.hpp: No such file or directory
45 | #include “human_face_detect_msr01.hpp”
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: human_face_detect_msr01.hpp: No such file or directory
The below have been done also:
Enable PSRAM
Set the Partition Scheme to “Huge APP (3MB No OTA/1MB SPIFFS)”
We recommend opening the iot_2_camera_server.ino file located in the esp32-starter-kit-main\c\codes\iot_2_camera_server directory using your IDE.
Before uploading the code, please ensure you have selected the correct board and port in the IDE. Additionally, enable PSRAM and set the Partition Scheme to “Huge APP (3MB No OTA/1MB SPIFFS)”. Then, click the Upload button.
Please provide us with a screenshot of the entire IDE page for verification.