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
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:
Could you help me understand what I'm doing wrong?
Regards,
Daniele