Skip to content
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

[opencv] added openvino support #34727

Merged
merged 2 commits into from
Oct 28, 2023

Conversation

ilya-lavrenov
Copy link
Contributor

Reason: Optimized OpenCV DNN module with OpenVINO, because by default OpenCV DNN module is slow as does not have any integrated performant backend.

Closes #28357

  • Changes comply with the maintainer guide
  • SHA512s are updated for each updated download
  • The "supports" clause reflects platforms that may be fixed by this new version
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

END OF PORT UPDATE CHECKLIST (delete this line) -->

@Adela0814 Adela0814 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Oct 26, 2023
@Adela0814 Adela0814 changed the title opencv: added openvino support [opencv] added openvino support Oct 26, 2023
@Adela0814 Adela0814 added requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function info:reviewed Pull Request changes follow basic guidelines and removed requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function labels Oct 26, 2023
@data-queue data-queue merged commit 1c00eae into microsoft:master Oct 28, 2023
15 checks passed
@ilya-lavrenov ilya-lavrenov deleted the opencv-openvino branch October 28, 2023 09:10
@cenit
Copy link
Contributor

cenit commented Oct 29, 2023

whatever this PR did, it increased build time, broke many ci pipelines and expanded a lot the dependencies without user notice. This OpenVINO addition should at least have been an optional feature... I am surprised in CI here there is nothing highlighted, because for me it's broken now on all OSes

@ilya-lavrenov
Copy link
Contributor Author

Hi @cenit
Could you please post example of errors you have?

it increased build time

If you don't use dnn module, you can explicitly disable this feature as it always recommended for final vcpkg users.
This PR optimizes dnn module with OpenVINO CPU and GPU inference capabilities.

@cenit
Copy link
Contributor

cenit commented Oct 29, 2023

@theoractice
Copy link

whatever this PR did, it increased build time, broke many ci pipelines and expanded a lot the dependencies without user notice. This OpenVINO addition should at least have been an optional feature... I am surprised in CI here there is nothing highlighted, because for me it's broken now on all OSes

Strongly agree. In any sense, bloating build time by 10x is ruining the user experience. Imagine newbie vcpkg users ending up telling others "installing opencv via vcpkg is absurdly slow, get away from it!"

@cenit I know you have been doing a really good job maintaining the opencv port for years, please keep going😍😍😍

If you don't use dnn module, you can explicitly disable this feature as it always recommended for final vcpkg users.

@ilya-lavrenov No, you break the rule here, at least for this port. We should carefully choose a small subset of features as default, make all others optional, then let users add their desired ones. OpenVINO support is great, but it should be optional.

@cenit
Copy link
Contributor

cenit commented Nov 1, 2023

-- Using source at C:/b/openvino/src/9d2f22129c-d6edabccf5.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows-release
-- Building x64-windows-release-rel
CMake Warning at scripts/cmake/vcpkg_execute_build_process.cmake:65 (message):
  Please ensure your system has sufficient memory.
Call Stack (most recent call first):
  D:/a/openvino_test/openvino_test/build_release/vcpkg_installed/x64-windows-release/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  D:/a/openvino_test/openvino_test/build_release/vcpkg_installed/x64-windows-release/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/openvino/portfile.cmake:134 (vcpkg_cmake_install)
  scripts/ports.cmake:168 (include)


-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/a/openvino_test/openvino_test/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Release --target install -- -v -j3
    Working Directory: C:/b/openvino/x64-windows-release-rel
    See logs for more information:
      C:\b\openvino\install-x64-windows-release-rel-out.log
      C:\b\openvino\install-x64-windows-release-rel-out-1.log

Call Stack (most recent call first):
  D:/a/openvino_test/openvino_test/build_release/vcpkg_installed/x64-windows-release/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  D:/a/openvino_test/openvino_test/build_release/vcpkg_installed/x64-windows-release/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/openvino/portfile.cmake:134 (vcpkg_cmake_install)
  scripts/ports.cmake:168 (include)


error: building openvino:x64-windows-release failed with: BUILD_FAILED
Elapsed time to handle openvino:x64-windows-release: 2.8 h
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openvino
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[openvino]+Build+error&body=Copy+issue+body+from+D%3A%2Fa%2Fopenvino_test%2Fopenvino_test%2Fbuild_release%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
You can also submit an issue by running (GitHub CLI must be installed):
  gh issue create -R microsoft/vcpkg --title "[openvino] Build failure" --body-file D:/a/openvino_test/openvino_test/build_release/vcpkg_installed/vcpkg/issue_body.md
-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  D:\a\openvino_test\openvino_test\build_release\vcpkg-manifest-install.log

@ilya-lavrenov opencv[dnn] is now not buildable on a standard github action windows runner, this is really impacting us.
I tried everything but it always fails (also taking a very long time)
If you think that the openvino dependency for opencv[dnn] is really mandatory for it to be meaningful, please try to reduce the openvino impact somehow

this is the tail of /c/b/openvino/install-x64-windows-release-rel-out.log

[2576/3114] C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe   /TP -DENABLE_DX11 -DIE_BUILD_POSTFIX=\"\" -DOV_GPU_OPENCL_HPP_HAS_UUID -DOV_GPU_USE_OPENCL_HPP -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2023.1.0-d4639b6ba4.clean\" -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include\ie -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\dev_api -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\bindings\c\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\preprocessing\src -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\util\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\low_precision_transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\common\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\template_extension\new -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\onnx\frontend\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\tensorflow\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\paddle\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\conditional_compilation\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\itt\include -external:ID:\a\openvino_test\openvino_test\build_release\vcpkg_installed\x64-windows-release\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /MD /O2 /Oi /Gy /DNDEBUG /Z7   /sdl /guard:cf -std:c++14 -MD /d1trimfile:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\ /d1trimfile:C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/ /showIncludes /Fodocs\snippets\CMakeFiles\ie_docs_snippets.dir\gpu\queue_sharing.cpp.obj /FdC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\ /FS -c C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\docs\snippets\gpu\queue_sharing.cpp
FAILED: docs/snippets/CMakeFiles/ie_docs_snippets.dir/gpu/queue_sharing.cpp.obj
C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe   /TP -DENABLE_DX11 -DIE_BUILD_POSTFIX=\"\" -DOV_GPU_OPENCL_HPP_HAS_UUID -DOV_GPU_USE_OPENCL_HPP -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2023.1.0-d4639b6ba4.clean\" -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include\ie -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\dev_api -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\bindings\c\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\preprocessing\src -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\util\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\low_precision_transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\common\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\template_extension\new -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\onnx\frontend\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\tensorflow\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\paddle\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\conditional_compilation\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\itt\include -external:ID:\a\openvino_test\openvino_test\build_release\vcpkg_installed\x64-windows-release\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /MD /O2 /Oi /Gy /DNDEBUG /Z7   /sdl /guard:cf -std:c++14 -MD /d1trimfile:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\ /d1trimfile:C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/ /showIncludes /Fodocs\snippets\CMakeFiles\ie_docs_snippets.dir\gpu\queue_sharing.cpp.obj /FdC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\ /FS -c C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\docs\snippets\gpu\queue_sharing.cpp
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\type_traits(716): fatal error C1060: compiler is out of heap space
[2577/3114] C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe   /TP -DENABLE_DX11 -DIE_BUILD_POSTFIX=\"\" -DOV_GPU_OPENCL_HPP_HAS_UUID -DOV_GPU_USE_OPENCL_HPP -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2023.1.0-d4639b6ba4.clean\" -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include\ie -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\dev_api -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\bindings\c\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\preprocessing\src -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\util\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\low_precision_transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\common\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\template_extension\new -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\onnx\frontend\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\tensorflow\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\paddle\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\conditional_compilation\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\itt\include -external:ID:\a\openvino_test\openvino_test\build_release\vcpkg_installed\x64-windows-release\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /MD /O2 /Oi /Gy /DNDEBUG /Z7   /sdl /guard:cf -std:c++14 -MD /d1trimfile:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\ /d1trimfile:C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/ /showIncludes /Fodocs\snippets\CMakeFiles\ie_docs_snippets.dir\gpu\preprocessing_nv12_two_planes_c.cpp.obj /FdC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\ /FS -c C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\docs\snippets\gpu\preprocessing_nv12_two_planes_c.cpp
FAILED: docs/snippets/CMakeFiles/ie_docs_snippets.dir/gpu/preprocessing_nv12_two_planes_c.cpp.obj
C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe   /TP -DENABLE_DX11 -DIE_BUILD_POSTFIX=\"\" -DOV_GPU_OPENCL_HPP_HAS_UUID -DOV_GPU_USE_OPENCL_HPP -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2023.1.0-d4639b6ba4.clean\" -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include\ie -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\inference\dev_api -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\bindings\c\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\preprocessing\src -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\util\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\low_precision_transformations\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\common\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\core\template_extension\new -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\onnx\frontend\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\tensorflow\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\frontends\paddle\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\conditional_compilation\include -IC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\src\common\itt\include -external:ID:\a\openvino_test\openvino_test\build_release\vcpkg_installed\x64-windows-release\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /MD /O2 /Oi /Gy /DNDEBUG /Z7   /sdl /guard:cf -std:c++14 -MD /d1trimfile:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\ /d1trimfile:C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/ /showIncludes /Fodocs\snippets\CMakeFiles\ie_docs_snippets.dir\gpu\preprocessing_nv12_two_planes_c.cpp.obj /FdC:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\ /FS -c C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\docs\snippets\gpu\preprocessing_nv12_two_planes_c.cpp
C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\docs\snippets\gpu\preprocessing_nv12_two_planes_c.cpp(127): fatal error C1060: compiler is out of heap space
[2578/3114] cmd.exe /C "cd . && D:\a\openvino_test\openvino_test\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\CMakeFiles\openvino.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe  @CMakeFiles\openvino.rsp  /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  && cd ."
FAILED: C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/bin/intel64/Release/openvino.dll C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/bin/intel64/Release/openvino.lib
cmd.exe /C "cd . && D:\a\openvino_test\openvino_test\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\CMakeFiles\openvino.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe  @CMakeFiles\openvino.rsp  /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe @CMakeFiles\openvino.rsp /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF /MANIFEST:EMBED,ID=2" failed (exit code 1102) with the following output:
LINK : fatal error LNK1102: out of memory
ninja: build stopped: subcommand failed.
# cat  /c/b/openvino/install-x64-windows-release-rel-out-1.log
[0/2] D:\a\openvino_test\openvino_test\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -P C:\b\openvino\x64-windows-release-rel\CMakeFiles\VerifyGlobs.cmake
[1/539] cmd.exe /C "cd . && D:\a\openvino_test\openvino_test\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\CMakeFiles\openvino.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe  @CMakeFiles\openvino.rsp  /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  && cd ."
FAILED: C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/bin/intel64/Release/openvino.dll C:/b/openvino/src/2023.1.0-d4639b6ba4.clean/bin/intel64/Release/openvino.lib
cmd.exe /C "cd . && D:\a\openvino_test\openvino_test\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\CMakeFiles\openvino.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe  @CMakeFiles\openvino.rsp  /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\link.exe @CMakeFiles\openvino.rsp /out:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.dll /implib:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.lib /pdb:C:\b\openvino\src\2023.1.0-d4639b6ba4.clean\bin\intel64\Release\openvino.pdb /dll /version:0.0 /machine:x64 /ignore:4098 /ignore:4286 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF /MANIFEST:EMBED,ID=2" failed (exit code 1102) with the following output:
LINK : fatal error LNK1102: out of memory
ninja: build stopped: subcommand failed.

@ilya-lavrenov
Copy link
Contributor Author

Thanks for your feedback. I'm turning OpenVINO as optional feature in the PR #34889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[opencv] OpenVino feature
5 participants