microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.69k stars 6.27k forks source link

[opencv] DNN feature not installed in UWP #33742

Open antoine-fresse opened 11 months ago

antoine-fresse commented 11 months ago

Is your feature request related to a problem? Please describe.

When targeting UWP, the DNN feature (which is a default feature) is supposedly available but is not actually installed (header/lib is not present). There is no error or warning indicating the feature is not supported . It works fine when targeting regular win x64

Proposed solution

Fix installation of missing features in UWP or mark them unsupported

Describe alternatives you've considered

No response

Additional context

image

Comparison of x64-uwp vs x64-windows vcpkg_installed include folder after installation

JonLiu1993 commented 11 months ago

@antoine-fresse, Thanks for posting this issue, opencv is now an empty port, it has been ported to opencv4, please use the command ./vcpkg install opencv4[dnn]:x64-uwp to use.

MBSpie commented 11 months ago

Hello, I am having the same issue here.

After trying the advised solution by JonLiu, I get the message that opencv4:x64-uwp is already installed but I still don't find any mention of the "dnn" features under the include directory of opencv2. However, he is present under the "buildtrees" folder and there is mention of it in the "download" folder as well.

image

github-actions[bot] commented 10 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

github-actions[bot] commented 9 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.