Help with OpenCV configure - objdetec
Hello,
I am trying to configure OpenCV 4.2.0 with OpenCV_contrib 4.2.0 specified, and I get the following CMake error:
CMake Error at cmake/OpenCVUtils.cmake:1481 (target_include_directories): Cannot specify include directories for target "opencv_objdetect_AVX" which is not built by this project.
Could anyone help me with figure out where the AVX cmake target should come from? Or if they've seen a similar issue elsewhere?
Thanks, Adam
Edit: VS2019 in case that's the issue
What are you trying to build exactly?
I'm interested in the aruco module of OpenCV-contrib
Have you build opencv with opencv_contrib?
hmm, it seems to be a thing ...
Yes, that was me who submitted the issue. It looks like not many people experience the issue. No problem, I can workaround it by disabling objdetect.
For future googlers, it appears to be something with the 4.2.0 tag. 4.1.2 compiles fine.
What is the problem with objdetect ? What's your platform?
Have you got vs2019 release 16.5?
It may have nothing to do with objdetect at all, it may be some AVX thing.
No, 16.4.5, will update now and see if that changes things.
Edit: 16.5 appears to be a preview release, should I try it anyways?
in vs2017 there is no problem but in vs2019 https://developercommunity.visualstud...