When building OpenCV with Python support, it seems that I am forced to compile a bunch of modules that I do not want in order to generate the Python bindings. So far, I have been forced to compile imgproc, features2d, gapi, and dnn.
Steps to reproduce
When running CMake, define the BUILD_LIST as core,python_bindings_generator,python_tests,python3 and watch it fail with SymbolNotFound and TypeResolutionFailed errors.
Issue submission checklist
[X] I report the issue, it's not a question
[ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
[ ] I updated to the latest OpenCV version and the issue is still there
[ ] There is reproducer code and related data files (videos, images, onnx, etc)
System Information
OpenCV 4.10.0
Detailed description
When building OpenCV with Python support, it seems that I am forced to compile a bunch of modules that I do not want in order to generate the Python bindings. So far, I have been forced to compile
imgproc
,features2d
,gapi
, anddnn
.Steps to reproduce
When running CMake, define the
BUILD_LIST
ascore,python_bindings_generator,python_tests,python3
and watch it fail withSymbolNotFound
andTypeResolutionFailed
errors.Issue submission checklist