From c2221142fd97c9b17e9b66b89fa0ce7552b14393 Mon Sep 17 00:00:00 2001 From: Joachim Date: Tue, 26 May 2020 14:42:33 +0200 Subject: [PATCH] small modif on the detailled build procedure --- esp32/doc/detailed_build_procedure.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/esp32/doc/detailed_build_procedure.md b/esp32/doc/detailed_build_procedure.md index 92f5f36..aa917af 100644 --- a/esp32/doc/detailed_build_procedure.md +++ b/esp32/doc/detailed_build_procedure.md @@ -178,9 +178,9 @@ When the compilation has ended, the libs are in the `build/lib` folder. ## Modified files for OpenCV to compile and run: -To get the cmake configuration and make compilation to work, some modifications on OpenCV files had to be done. They are listed below. - +To get the cmake configuration, make compilation and an ESP32 project compilation to work, some modifications on OpenCV files had to be done. They are listed below. +#### Configuration with CMake: A `cmake` option `ESP32` is added to the `CmakeLists.txt` : @@ -223,6 +223,8 @@ The `cmake` command is run, leading to the following errors: +#### Compilation with Make: + After these fixes, the command `make` is run, with some new errors: @@ -328,6 +330,8 @@ After these fixes, the command `make` is run, with some new errors: +#### Compilation of a project on the ESP32: + When the `make` command compiles successfully, the library was tested with an example. This led to some new errors: * *parallel.cpp:949:58: undefined reference to sysconf*