Computing installation plan...
The following packages will be built and installed:
onnxruntime[core,cuda]:x64-windows@1.23.2#1
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\think\AppData\Local\vcpkg\archives in 607 us. Use --debug to see more details.
Installing 1/1 onnxruntime[core,cuda]:x64-windows@1.23.2#1...
onnxruntime[core,cuda]:x64-windows@1.23.2#1 package ABI: 8f33553fbee7f50e794bc50f371188a0353f5a65b568b5976f368510532bd179
Building onnxruntime[core,cuda]:x64-windows@1.23.2#1...
CMake Warning at ports/onnxruntime/portfile.cmake:2 (message):
The port requires 'onnx' port build with CMake option
ONNX_DISABLE_STATIC_REGISTRATION=ON
Call Stack (most recent call first):
scripts/ports.cmake:206 (include)
-- Using cached microsoft-onnxruntime-v1.23.2.tar.gz
-- Cleaning sources at D:/vcpkg/buildtrees/onnxruntime/src/v1.23.2-0dacaac064.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/microsoft-onnxruntime-v1.23.2.tar.gz
-- Applying patch fix-cmake.patch
-- Applying patch fix-cmake-cuda.patch
-- Applying patch fix-missing-cstdint.patch
-- Applying patch fix-cmake-mlas.patch
-- Using source at D:/vcpkg/buildtrees/onnxruntime/src/v1.23.2-0dacaac064.clean
-- Using protoc: D:/vcpkg/installed/x64-windows/tools/protobuf/protoc.exe
-- Using flatc: D:/vcpkg/installed/x64-windows/tools/flatbuffers/flatc.exe
-- Using python3: D:/vcpkg/downloads/tools/python/python-3.14.2-x64-1/python.exe
-- Found CUDA V12.8.93
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: D:/vcpkg/downloads/tools/cmake-4.3.3-windows/cmake-4.3.3-windows-x86_64/bin/cmake.exe --build . --config Debug --target onnxruntime_providers_cuda -- -v -j17
Working Directory: D:/vcpkg/buildtrees/onnxruntime/x64-windows-dbg
See logs for more information:
D:\vcpkg\buildtrees\onnxruntime\build-cuda-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
ports/onnxruntime/portfile.cmake:134 (vcpkg_cmake_build)
scripts/ports.cmake:206 (include)
error: building onnxruntime:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle onnxruntime:x64-windows: 2.5 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+onnxruntime
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bonnxruntime%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20D%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Operating system
Windows 11
Compiler
MSVC 14.44.35207
Steps to reproduce the behavior
`./vcpkg install onnxruntime[cuda]`Failure logs
build-cuda-x64-windows-dbg-out.log
Additional context
No response