reparing the detailed_build_procedure markdown

This commit is contained in:
Joachim Burket
2020-07-02 15:45:23 +02:00
parent 7ac7e155d7
commit 396fee8f80

View File

@ -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 `<dirent.h>`:
``` c++
```c++
#if defined(ESP32)
#include <sys/unistd.h>
#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*