Closed jjbuck closed 4 years ago
What is about CMakeLists.txt
inside of these folders?
BTW, cmake --trace-expand
may help with investigation (with disabling of ocv_cmake_dump_vars()
statement to reduce trace logs).
Thanks for your response. Not sure I totally understand the question. I retried with cmake --trace_expand
, but it's hard to know what is actually meaningful in all the terminal output. Instead, I'm pasting below a copy of my build/CMakeFiles/CMakeError.log
file.
No modules has been found
Search for this message and/or your path "/Users/me/opencv_contrib/modules". You need to check flow of the statements above showing the message.
We don't help with remote investigation of problems which we are not able to reproduce on our side (because it is very time consuming and usually configuration problem without any following fix into OpenCV), but we can take a look on the clear reason of the problem and suggest some fix/workaround.
docker run --rm --workdir /code -v "$PWD":/code ...
Looks like, you didn't mount opencv_contrib
directory into build container.
System information (version)
Detailed description
I'm trying to build opencv for javascript by following the Docker instructions in https://docs.opencv.org/3.4/d4/da1/tutorial_js_setup.html.
I modify the
build_js.py
file to add theopen_cv/contrib
directory:When I run
docker run --rm --workdir /code -v "$PWD":/code "trzeci/emscripten:latest" python ./platforms/js/build_js.py build
, I get the following error:But that directory exists, because when I
ls
the directory I get a result.Steps to reproduce