I built couple version of 4.xx successfully but there are some issues on building OpenCV 5 in same way.
- there is a link error on building gapi, I need to add “ws2_32.lib” dependency manually
- the built library format is “dll.a” but not “lib”, I need to change their suffix manually (and then works)
env: cmake 4.0.0, MSVC 2019
configuration:
disabled: BUILD_opencv_dnn, BUILD_PERF_TESTS, BUILD_TESTS
enabled: OPENCV_EXTRA_MODULES_PATH=…