diff --git a/esp32/doc/detailed_build_procedure.md b/esp32/doc/detailed_build_procedure.md index 7220009..0efe1fb 100644 --- a/esp32/doc/detailed_build_procedure.md +++ b/esp32/doc/detailed_build_procedure.md @@ -238,7 +238,7 @@ 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++ + ```c++ #if defined(ESP32) #include #include "esp_dirent.h" @@ -248,6 +248,8 @@ After these fixes, the command `make` is run, with some new errors: /* ... */ ``` + + 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*