-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
incompletequestion (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org/ask questions and other "no action" items here: https://forum.opencv.org/
Description
System information (version)
- OpenCV => 4.2.0
- Operating System / Platform => Mac OS Catalina 10.15.5
- Compiler => Cmake 3.19.0
Detailed description
CMakeError.log
CMakeOutput.log
I am trying to compile the OpenCV(4.2.0) along with additional modules from opencv_contrib(4.2.0), but I am facing the above attaching error logs. If I try to compile opencv without OPENCV_EXTRA_MODULES_PATH then the compilation is successful. I have tried multiple versions(like 4.5.0, 4.2.0, 3.4.0) for both opencv and opencv_contrib, still I am facing these errors. I am using python 3.6.5.
I have used following cmake command for compilation and please note that same environment works only if I remove OPENCV_EXTRA_MODULES_PATH and compile OpenCV source from master branch.
cmake -D CMAKE_BUILD_TYPE=DEBUG \ -D CMAKE_INSTALL_PREFIX=/usr/local \
-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-4.2.0/modules \
-D PYTHON3_LIBRARY=`python -c 'import subprocess ; import sys ; s = subprocess.check_output("python-config --configdir", shell=True).decode("utf-8").strip() ; (M, m) = sys.version_info[:2] ; print("{}/libpython{}.{}.dylib".format(s, M, m))'` \
-D PYTHON3_INCLUDE_DIR=`python -c 'import distutils.sysconfig as s; print(s.get_python_inc())'` \
-D PYTHON3_EXECUTABLE=../.pyenv/versions/3.6.5/bin/python3 \
-D BUILD_opencv_python2=OFF \
-D BUILD_opencv_python3=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_ENABLE_NONFREE=ON \
-D BUILD_EXAMPLES=ON ../opencv-4.2.0
Issue submission checklist
- [+] I report the issue, it's not a question
- [+] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - [+] I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Metadata
Metadata
Assignees
Labels
incompletequestion (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org/ask questions and other "no action" items here: https://forum.opencv.org/