Skip to content

Unable to build Onnxruntime 1.4.0 with OpenVINO 2020.3 on Windows 10 #4554

@danielecazzari

Description

@danielecazzari

Describe the bug
I'm trying to build latest release of Onnxruntime 1.4.0 with OpenVINO EP (2020.3) with the following parameters:
--config Release --build_shared_lib --parallel --cmake_generator "Visual Studio 16 2019" --enable_pybind --build_wheel --use_openvino CPU_FP32 --skip_submodule_sync --skip_tests

During compilation I receive this warning treated as error and compilation end:

D:\onnx\onnxruntime-1.4.0\onnxruntime\core\providers\openvino\backends\vadm_backend.cc(67,25): error C2220: the followi
ng warning is treated as an error [D:\onnx\onnxruntime-1.4.0\build\Windows\Release\onnxruntime_providers_openvino.vcxpr
oj]
D:\onnx\onnxruntime-1.4.0\onnxruntime\core\providers\openvino\backends\vadm_backend.cc(67,25): warning C4456: declarati
on of 'i' hides previous local declaration [D:\onnx\onnxruntime-1.4.0\build\Windows\Release\onnxruntime_providers_openv
ino.vcxproj]

Could you help me understand what I'm doing wrong?

Regards,

Daniele

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateep:OpenVINOissues related to OpenVINO execution provider

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions