I build a opencv library and use it on vs2019.
What is the error ?
the folder ‘opencv\x64\vc16\lib’ that I include have the opencv_reg455d.lib
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_reg" configuration
"RelWithDebInfo".
-- "C:/Program Files (x86)/WiX Toolset v3.11/bin/candle.exe" D:/TEST/cmake/deb/windows/bundle.wxs -ext WixBalExtension -ext WixUtilExtension -nologo
"C:/Program Files (x86)/WiX Toolset v3.11/bin/light.exe" D:/TEST/build-debug/bundle.wixobj -o 123.exe -ext WixBalExtension -ext WixUtilExtension -nologo
-- Configuring done
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_rapid" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_reg" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_rgbd" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_saliency" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_shape" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_stereo" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_structured_light"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_superres" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_surface_matching"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_text" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_tracking" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_videostab"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_wechat_qrcode"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_xfeatures2d"
configuration "RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_ximgproc" configuration
"RelWithDebInfo".
CMake Error in CMakeLists.txt:
IMPORTED_IMPLIB not set for imported target "opencv_xobjdetect"
configuration "RelWithDebInfo".