From b343b5a966dc6dc5a625e0cee69d3d8a2f938e77 Mon Sep 17 00:00:00 2001 From: Joachim Burket Date: Thu, 2 Jul 2020 15:49:47 +0200 Subject: [PATCH] reparing the detailed_build_procedure markdown round 2 --- esp32/doc/detailed_build_procedure.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/esp32/doc/detailed_build_procedure.md b/esp32/doc/detailed_build_procedure.md index f974191..539249f 100644 --- a/esp32/doc/detailed_build_procedure.md +++ b/esp32/doc/detailed_build_procedure.md @@ -239,17 +239,15 @@ After these fixes, the command `make` is run, with some new errors: The `glob.cpp` file includes the file `xtensa-esp32-elf/sys-include/dirent.h`, which includes `xtensa-esp32-elf/sys-include/sys/dirent.h`, which causes this error. This is because the filesystem related functions are defined in the ESP-IDF repository (in `components/vfs/`). The `vfs/include/sys/dirent.h` header must therefore be included in `glob.cpp:135` instead of ``: ```c++ -#if defined(ESP32) + #if defined(ESP32) #include -#include "esp_dirent.h" + #include "esp_dirent.h" #include const char dir_separators[] = "/"; #else /* ... */ ``` - - This `esp_dirent.h` file is the `vfs/include/sys/dirent.h` copied into `modules/core/src/` in OpenCV sources. * *system.cpp:1002:20: error: 'mkstemp' was not declared in this scope*