Skip to content

[Build] Warning: feature openvino-ep was passed, but that is not a feature supported by onnxruntime supports #677

@ahsanullah-8bit

Description

@ahsanullah-8bit

Describe the issue

Hello,

I'm kind of a beginner here, I've been using onnxruntime (C++ API) for a while now. But I recently tried OpenVINO and it was FAST. So, I wanted to use OpenVINO execution proivder instead of standalone, due to the diverse nature of onnxruntime.

Tried Using Pre-built binaries

I got into OpenVINO™ Execution Provider documentation. Didn't quite understand most of the stuff and wanted to quickly go through it. I got the pre-built binaries, download the ort_ovep.zip, extracted, moved them to the executable directory (next to the onnxruntime-v1.21.0 pre-build windows-cpu binaries). I thought the ORT will get it. But it was still just

Available providers: "AzureExecutionProvider", "CPUExecutionProvider"

There was nothing to link against either. I left that alone.

Tried Build from source

Thought of building from source myself following the Building with different EPs: OpenVINO guide. Failed miserably, I didn't even know which repo it was talking about (to build), the microsoft or the intel one. Tried both, then proceeded with intel one at end. Got errors related to openvino.

I tried the OpenVINO 2025.1, with tags/v5.6 and the OpenVINO 2024.6 as well (because the guide said 2024.5), yet the other one at OpenVINO™ Execution Provider lists 2025.1 for 1.21.0). I did the setupvars step to, for each Command Line session.

Lots of things going on. Either it's a skill issue or the documentation isn't updated. If someone could just help on how to use the pre-built binaries or build onnxruntime from source with OpenVINO (in case, there's no pre-built available). Or I'm just gonna have to abandon onnxruntime.

Urgency

Not that urgent. But we got FYP to finish in the next few months.

Target platform

Windows 11 x86_64

Build script

.\build.bat --build_dir build --config Release --use_vcpkg --use_openvino AUTO:GPU,CPU --build_shared_lib --skip_tests

Error / output

Skipped some stuff, only pasted things that seemed important

D:\onnxruntime>.\build.bat --build_dir build --config Release --use_openvino AUTO:GPU,CPU --build_shared_lib --skip_tests --use_vcpkg --skip_onnx_tests
2025-04-27 20:02:37,986 build [DEBUG] - Command line arguments:
  --build_dir 'D:\onnxruntime\\build\Windows' --build_dir build --config Release --use_openvino AUTO:GPU,CPU --build_shared_lib --skip_tests --use_vcpkg --skip_onnx_tests
Namespace(build_dir='build', config=['Release'], update=False, build=False, clean=False, parallel=1, nvcc_threads=-1, test=False, skip_tests=True, compile_no_warning_as_error=False, enable_nvtx_profile=False, enable_memory_profile=False, enable_training=False, enable_training_apis=False, enable_training_ops=False, enable_nccl=False, mpi_home=None, nccl_home=None, use_mpi=False, enable_onnx_tests=False, path_to_protoc_exe=None, fuzz_testing=False, enable_symbolic_shape_infer_tests=False, gen_doc=None, gen_api_doc=False, use_cuda=False, cuda_version=None, cuda_home=None, cudnn_home=None, enable_cuda_line_info=False, enable_cuda_nhwc_ops=False, disable_cuda_nhwc_ops=False, enable_cuda_minimal_build=False, enable_pybind=False, build_wheel=False, wheel_name_suffix=None, skip_keras_test=False, build_csharp=False, build_nuget=False, msbuild_extra_options=None, build_java=False, build_nodejs=False, build_objc=False, build_shared_lib=True, build_apple_framework=False, cmake_extra_defines=None, target=None, x86=False, rv64=False, arm=False, arm64=False, arm64ec=False, buildasx=False, riscv_toolchain_root='', riscv_qemu_path='', msvc_toolset=None, windows_sdk_version=None, android=False, android_abi='arm64-v8a', android_api=27, android_sdk_path='', android_ndk_path='', android_cpp_shared=False, android_run_emulator=False, use_gdk=False, gdk_edition='.', gdk_platform='Scarlett', enable_wasm_memory64=False, ios=False, visionos=False, macos=None, apple_sysroot='', ios_toolchain_file='', visionos_toolchain_file='', xcode_code_signing_team_id='', xcode_code_signing_identity='', cmake_generator='Visual Studio 17 2022', osx_arch='x86_64', apple_deploy_target=None, enable_address_sanitizer=False, use_binskim_compliant_compile_flags=False, disable_memleak_checker=False, use_vcpkg=True, use_vcpkg_ms_internal_asset_cache=False, build_wasm=False, build_wasm_static_lib=False, emsdk_version='4.0.3', enable_wasm_simd=False, enable_wasm_threads=False, disable_wasm_exception_catching=False, enable_wasm_api_exception_catching=False, enable_wasm_exception_throwing_override=True, wasm_run_tests_in_browser=False, enable_wasm_profiling=False, enable_wasm_debug_info=False, wasm_malloc=None, emscripten_settings=None, use_extensions=False, extensions_overridden_path=None, cmake_path='cmake', ctest_path='ctest', skip_submodule_sync=False, use_mimalloc=False, use_dnnl=False, dnnl_gpu_runtime='', dnnl_opencl_root='', use_openvino='AUTO:GPU,CPU', dnnl_aarch64_runtime='', dnnl_acl_root='', use_coreml=False, use_webnn=False, use_snpe=False, snpe_root=None, use_nnapi=False, use_vsinpu=False, nnapi_min_api=None, use_jsep=False, use_webgpu=False, use_external_dawn=False, use_qnn=None, qnn_home=None, use_rknpu=False, use_preinstalled_eigen=False, eigen_path=None, enable_msinternal=False, use_vitisai=False, use_tensorrt=False, use_tensorrt_builtin_parser=True, use_tensorrt_oss_parser=False, tensorrt_home=None, test_all_timeout='10800', use_migraphx=False, migraphx_home=None, use_full_protobuf=False, enable_pix_capture=False, skip_onnx_tests=True, skip_winml_tests=False, skip_nodejs_tests=False, enable_msvc_static_runtime=False, use_dml=False, dml_path='', use_winml=False, winml_root_namespace_override=None, dml_external_project=False, use_telemetry=False, enable_wcos=False, enable_lto=False, enable_transformers_tool_test=False, use_acl=False, acl_home=None, acl_libs=None, use_armnn=False, armnn_relu=False, armnn_bn=False, armnn_home=None, armnn_libs=None, build_micro_benchmarks=False, minimal_build=None, include_ops_by_config=None, enable_reduced_operator_type_support=False, disable_contrib_ops=False, disable_ml_ops=False, disable_rtti=False, disable_types=[], disable_exceptions=False, rocm_version=None, use_rocm=False, rocm_home=None, code_coverage=False, enable_lazy_tensor=False, ms_experimental=False, enable_external_custom_op_schemas=False, external_graph_transformer_path=None, enable_cuda_profiling=False, use_cann=False, cann_home=None, enable_rocm_profiling=False, use_xnnpack=False, use_avx512=False, use_azure=False, use_cache=False, use_triton_kernel=False, use_lock_free_queue=False, enable_generic_interface=False)
2025-04-27 20:02:38,002 build [DEBUG] - Defaulting to running update, build [and test for native builds].

...

warning: feature openvino-ep was passed, but that is not a feature supported by onnxruntime supports.

...

     Creating library D:/onnxruntime/build/Release/Release/custom_op_get_const_input_test_library.lib and object D:/onn
  xruntime/build/Release/Release/custom_op_get_const_input_test_library.exp
custom_op_get_const_input_test_library.exp : warning LNK4070: /OUT:custom_op_openvino_wrapper_library.dll directive in
.EXP differs from output filename 'D:\onnxruntime\build\Release\Release\custom_op_get_const_input_test_library.dll'; ig
noring directive [D:\onnxruntime\build\Release\custom_op_get_const_input_test_library.vcxproj]

...

  Building Custom Rule D:/onnxruntime/cmake/CMakeLists.txt
  openvino_wrapper.cc
  custom_op_lib.cc
D:\onnxruntime\onnxruntime\test\testdata\custom_op_openvino_wrapper_library\openvino_wrapper.cc(38,27): error C4996: 'o
v::element::undefined': This type is deprecated and will be removed in 2026.0. Use dynamic instead. [D:\onnxruntime\bui
ld\Release\custom_op_openvino_wrapper_library.vcxproj]

...

D:\onnxruntime\onnxruntime\core\providers\openvino\backends\basic_backend.cc(170,72): error C4996: 'ov::element::undefi
ned': This type is deprecated and will be removed in 2026.0. Use dynamic instead. [D:\onnxruntime\build\Release\onnxrun
time_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(93,19): error C2065: 'device_type': und
eclared identifier [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(94,27): error C2065: 'device_type': und
eclared identifier [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(94,25): error C2530: 'devices': referen
ces must be initialized [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30): error C3536: 'devices': cannot
be used before it is initialized [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,24): error C2664: 'std::vector<std::
string,std::allocator<std::string>> onnxruntime::openvino_ep::split(const std::string &,char)': cannot convert argument
 1 from 'int' to 'const std::string &' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
      Reason: cannot convert from 'int' to 'const std::string'
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
      'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string': no overloaded function could
   convert all the argument types
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(744,5):
          could be 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t )'
          with
          [
              _Elem=char
          ]
              D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
              'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *const )':
   cannot convert argument 1 from 'int' to 'const _Elem *const '
          with
          [
              _Elem=char
          ]
                  D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
                  Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesize
  d function-style cast
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(1316,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_
  list<_Elem>,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
              D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
              'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_list<
  _Elem>,const _Alloc &)': cannot convert argument 1 from 'int' to 'std::initializer_list<_Elem>'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          and
          [
              _Elem=char
          ]
                  D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
                  Conversion requires a second user-defined-conversion operator or constructor
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(1133,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Ty &,const
   unsigned __int64,const unsigned __int64,const _Alloc &)'
          with
          [
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(774,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(_Iter,_Iter,const
   _Alloc &)'
          with
          [
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(768,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const unsigned __
  int64,const _Elem,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(751,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t ,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(738,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t ,const unsigned __int64,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,30):
          while trying to match the argument list '(int)'
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_execution_provider.h(34,33):
      see declaration of 'onnxruntime::openvino_ep::split'
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(95,24):
      while trying to match the argument list '(int, char)'

D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,31): error C3312: no callable 'begin
' function found for type 'int' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,31): error C3312: no callable 'end'
function found for type 'int' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,22): error C2530: 'device': referenc
es must be initialized [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,22): error C3531: 'device': a symbol
 whose type contains 'auto' must have an initializer [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxpr
oj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,29): error C2143: syntax error: miss
ing ';' before ':' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(96,38): error C2143: syntax error: miss
ing ';' before ')' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664: 'bool std::_Tree<s
td::_Tset_traits<_Kty,_Pr,_Alloc,false>>::contains(const std::basic_string<char,std::char_traits<char>,std::allocator<c
har>> &) const': cannot convert argument 1 from 'int' to 'const std::basic_string<char,std::char_traits<char>,std::allo
cator<char>> &' [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:         with [D:\o
nnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:         [ [D:\onnx
runtime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:             _Kty=s
td::string, [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:             _Pr=st
d::less<std::string>, [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:             _Alloc
=std::allocator<std::string> [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38): error C2664:         ] [D:\onnx
runtime\build\Release\onnxruntime_providers_openvino.vcxproj]
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
      Reason: cannot convert from 'int' to 'const std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
      'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string': no overloaded function could
   convert all the argument types
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(744,5):
          could be 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t )'
          with
          [
              _Elem=char
          ]
              D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
              'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *const )':
   cannot convert argument 1 from 'int' to 'const _Elem *const '
          with
          [
              _Elem=char
          ]
                  D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
                  Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesize
  d function-style cast
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(1316,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_
  list<_Elem>,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
              D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
              'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_list<
  _Elem>,const _Alloc &)': cannot convert argument 1 from 'int' to 'std::initializer_list<_Elem>'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          and
          [
              _Elem=char
          ]
                  D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
                  Conversion requires a second user-defined-conversion operator or constructor
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(1133,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Ty &,const
   unsigned __int64,const unsigned __int64,const _Alloc &)'
          with
          [
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(774,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(_Iter,_Iter,const
   _Alloc &)'
          with
          [
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(768,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const unsigned __
  int64,const _Elem,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(751,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t ,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xstring(738,5):
          or       'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(const _Elem *cons
  t ,const unsigned __int64,const _Alloc &)'
          with
          [
              _Elem=char,
              _Alloc=std::allocator<char>
          ]
          D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,47):
          while trying to match the argument list '(int)'
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xtree(1402,21):
      see declaration of 'std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::contains'
          with
          [
              _Kty=std::string,
              _Pr=std::less<std::string>,
              _Alloc=std::allocator<std::string>
          ]
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xtree(1408,21):
      could be 'bool std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::contains(const _Other &) const'
          with
          [
              _Kty=std::string,
              _Pr=std::less<std::string>,
              _Alloc=std::allocator<std::string>
          ]
          D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38):
          the associated constraints are not satisfied
              C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\xtree(1407,18):
              the constraint was not satisfied
      D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_provider_factory.cc(97,38):
      while trying to match the argument list '(int)'

D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_execution_provider.cc(26,33): error C2220: the following wa
rning is treated as an error [D:\onnxruntime\build\Release\onnxruntime_providers_openvino.vcxproj]
D:\onnxruntime\onnxruntime\core\providers\openvino\openvino_execution_provider.cc(26,33): warning C4505: 'onnxruntime::
openvino_ep::parseDevices': unreferenced function with internal linkage has been removed [D:\onnxruntime\build\Release\
onnxruntime_providers_openvino.vcxproj]
  qdq_stripping.cc
  Building Custom Rule D:/onnxruntime/cmake/CMakeLists.txt
  provider_ort_api_init.cc
  my_allocator.cc
  provider_bridge_provider.cc
  my_ep_factory.cc
  my_execution_provider.cc
  my_ep_data_transfer.cc
     Creating library D:/onnxruntime/build/Release/Release/test_execution_provider.lib and object D:/onnxruntime/build/
  Release/Release/test_execution_provider.exp
  test_execution_provider.vcxproj -> D:\onnxruntime\build\Release\Release\test_execution_provider.dll
Traceback (most recent call last):
  File "D:\onnxruntime\\tools\ci_build\build.py", line 3312, in <module>
    sys.exit(main())
             ^^^^^^
  File "D:\onnxruntime\\tools\ci_build\build.py", line 3207, in main
    build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.target)
  File "D:\onnxruntime\\tools\ci_build\build.py", line 2006, in build_targets
    run_subprocess(cmd_args, env=env)
  File "D:\onnxruntime\\tools\ci_build\build.py", line 906, in run_subprocess
    return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\onnxruntime\tools\python\util\run.py", line 50, in run
    completed_process = subprocess.run(
                        ^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Qt\\Tools\\CMake_64\\bin\\cmake.EXE', '--build', 'build\\Release', '--config', 'Release']' returned non-zero exit status 1.

Visual Studio Version

Visual Studio Community 2022 (17.13.5)

GCC / Compiler Version

MSVC 19.43.34809.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions