-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] OpenCV/4.5.5: LNK1104 opencv_xobjdetect455 #10997
Comments
get_target_property(OUT opencv::opencv_xobjdetect INTERFACE_LINK_LIBRARIES)
message(STATUS ${OUT})
message(STATUS ${opencv_LIBRARY_LIST})
message(STATUS ${opencv_LIB_DIRS})
file(GLOB CVPLOT_LIB_FILES ${opencv_LIB_DIRS}/*.lib)
message(STATUS ${CVPLOT_LIB_FILES}) OUT:
opencv_LIBRARY_LIST:
opencv_LIB_DIRS:
CVPLOT_LIB_FILES:
opencv_xobjdetect contains interface linked library opencv_xobjdetect455 but opencv_LIB_DIR doesn't contain related .lib file. Looks like imported non-built target. Try to rebuild opencv: https://pastebin.com/XXjvDmSB
xobjdetect was disabled but imported target was created (same for objdetect) Problem is here https://github.com/opencv/opencv/blob/ed6ca0d7fab5381c6aa6062c49c3c99ee828fadb/modules/objdetect/CMakeLists.txt#L7 but dnn is optional. I don't understand why objdetect cannot be build without dnn. |
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
conanfile:
cmake:
plot_demo.cpp: https://raw.githubusercontent.com/opencv/opencv_contrib/master/modules/plot/samples/plot_demo.cpp
Logs (Include/Attach if Applicable)
Click to expand log
The text was updated successfully, but these errors were encountered: