fd_forward.h: No such file or directory

Hi! I'm having the error fd_forward.h: No such file or directory. I've been stuck here for more than half my day. Please, how to solve this one. I already tried copying files to my arduino\libraries and still arduino ide presented me the same issue. Please help me. I'm a student and my deadline is near. Thank you so much for regarding my message.

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination

Which files did you copy to that folder and where did you get them ?

1 Like

https://github.com/ArduCAM/ArduCAM_ESP32S_UNO_PSRAM/archive/refs/heads/master.zip

https://github.com/ArduCAM/ArduCAM_ESP32S_UNO_PSRAM/blob/master/tools/sdk/include/esp-face/fr_forward.h

These are the files from github. Someone advice me to extract then copy one of these files to my Arduino\Libraries. What to do?

This thing you have linked to is an Arduino boards platform, not a library. So you should not install it as a library.

Please delete your incorrect attempt to install it as a library:

C:\Program Files (x86)\Arduino\libraries\ArduCAM_ESP32S_UNO_PSRAM-master

After that, follow the instructions to install it correctly:

Bump. Using ESP32 libraries v2.0.2 on both arduino IDE 1.8.19 and 2.0.0.rc5 build will fail because fd_forward.h is not found.

Line 36 in the ESP32->Camera->Camera Web Server Sample
the line is:
#include "fd_forward.h"

The sample project does not come with an fd_forward.h file in the sample project.

after some digging it looks like the sample's author intended this to be a wrapper around the face detection library

2 Likes

So now what. This worked before updating from 8.1.8 to 8.1.13. This is why I don't update very often, I spend a lot of time scratching around trying to fix what used to work.

Treereaver

1 Like

What is "This" ?

If it is a sketch then please post it here, using code tags when you do

I am trying to get the ESP32-WROVER to be discoverable by my phone so I can control the ELEGOO Smart Robot Car Kit V4.0 with the accompanying app (EleRobot). I can see the camera/WiFi AP on other devices, just not my phone. I have also confirmed that the camera is working and ready by resetting the ESP32 while using the Serial Monitor in the Arduino IDE.

The mfg FAQ suggested manually changing the WiFi channel which led me to download the most recent code from their website (the kit came with the code pre-loaded):
Download manual + tutorial + code + App + datasheets all in 1 package:
ELEGOO Smart Robot Car Kit V4.0

When I compile and attempt to upload the sketch, I am experiencing the same error as the OP - fd_forward.h: No such file or directory

#include "esp_http_server.h"
#include "esp_timer.h"
#include "esp_camera.h"
#include "img_converters.h"
#include "camera_index.h"
#include "Arduino.h"

#include "fb_gfx.h"
#include "fd_forward.h"
#include "fr_forward.h"

#define ENROLL_CONFIRM_TIMES 5
#define FACE_ID_SAVE_NUMBER 7

#define FACE_COLOR_WHITE 0x00FFFFFF
#define FACE_COLOR_BLACK 0x00000000
#define FACE_COLOR_RED 0x000000FF
#define FACE_COLOR_GREEN 0x0000FF00
#define FACE_COLOR_BLUE 0x00FF0000
#define FACE_COLOR_YELLOW (FACE_COLOR_RED | FACE_COLOR_GREEN)
#define FACE_COLOR_CYAN (FACE_COLOR_BLUE | FACE_COLOR_GREEN)
#define FACE_COLOR_PURPLE (FACE_COLOR_BLUE | FACE_COLOR_RED)

I have seen others suggest that the code used for the Robot Car is based off the Example sketch: Examples>>ESP32>>Camera>>CameraWebServer - However, when I open that sketch, I see a lot of code for pin configs that make me feel like I am in over my head with that approach:

camera_config_t config;
  config.ledc_channel = LEDC_CHANNEL_0;
  config.ledc_timer = LEDC_TIMER_0;
  config.pin_d0 = Y2_GPIO_NUM;
  config.pin_d1 = Y3_GPIO_NUM;
  config.pin_d2 = Y4_GPIO_NUM;
  config.pin_d3 = Y5_GPIO_NUM;
  config.pin_d4 = Y6_GPIO_NUM;
  config.pin_d5 = Y7_GPIO_NUM;
  config.pin_d6 = Y8_GPIO_NUM;
  config.pin_d7 = Y9_GPIO_NUM;
  config.pin_xclk = XCLK_GPIO_NUM;
  config.pin_pclk = PCLK_GPIO_NUM;
  config.pin_vsync = VSYNC_GPIO_NUM;
  config.pin_href = HREF_GPIO_NUM;
  config.pin_sscb_sda = SIOD_GPIO_NUM;
  config.pin_sscb_scl = SIOC_GPIO_NUM;
  config.pin_pwdn = PWDN_GPIO_NUM;
  config.pin_reset = RESET_GPIO_NUM;
  config.xclk_freq_hz = 20000000;
  config.pixel_format = PIXFORMAT_JPEG;

Any ideas for getting the camera to be discoverable, and ultimately the EleRobot application to work are greatly appreciated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.