I am receiving an error while generating files for opencv as below.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "zlib" that is not in any export set.
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "ittnotify" that is not in any export set.
CMake Error in CMakeLists.txt:
export called with target "opencv_core" which requires target "zlib" that
is not in any export set.
CMake Error in CMakeLists.txt:
export called with target "opencv_core" which requires target "ittnotify"
that is not in any export set.
Generating done
I have tried configuring the path to libz with the path /usr/lib/x86_64-linux-gnu/libz.so
for the variable ZLIB_LIBRARY_DEBUG in Advanced tab. However this didn’t solve the issue. How exactly should I add this thing in my makefile system please?
Thanks