Skip to content

Commit 3495698

Browse files
committed
Merge branch 'master' of github.com:joachimBurket/esp32-opencv
2 parents 4dc2ae3 + b343b5a commit 3495698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

esp32/doc/detailed_build_procedure.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ After these fixes, the command `make` is run, with some new errors:
238238
239239
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>`:
240240
241-
``` c++
242-
#if defined(ESP32)
241+
```c++
242+
#if defined(ESP32)
243243
#include <sys/unistd.h>
244-
#include "esp_dirent.h"
244+
#include "esp_dirent.h"
245245
#include <sys/stat.h>
246246
const char dir_separators[] = "/";
247247
#else

0 commit comments

Comments
 (0)