Ask Your Question

Revision history [back]

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

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