[Build] onnxruntime with tag 1.20.* build failed on Windows after VS upgrade to 17.13.* #23911
Labels
build
build issues; typically submitted using template
platform:windows
issues related to the Windows platform
Describe the issue
https://devblogs.microsoft.com/cppblog/whats-new-for-c-developers-in-visual-studio-2022-17-13/
VS 17.13.* have a breaking change:
This breaking change caused the https://github.com/microsoft/onnxruntime/blob/v1.20.2/include/onnxruntime/core/platform/ort_mutex.h build failed.
Add
#include <chrono>
can fix this issue, can we patch the 1.20.* to fix this build failure?Urgency
No response
Target platform
Windows
Build script
Default build
Error / output
system_clock not defined
Visual Studio Version
17.13.*
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: