-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Build] Build error after version v1.17.0. #22213
Comments
running
|
following the issue #18036 2024-09-25 16:12:18,609 build [INFO] - Build complete |
some useful issues for build static lib: |
Describe the issue
When i try to build onnxruntime after v1.17.0, i meet two bugs.
The first is
"error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool"."
I solved this problem by adding "add_definitions(-D_XKEYCHECK_H)" to cmakelist.txt;
The second one is here.
No information was given as to where the problem was.
It is worth noting that this bug will not be encountered when building before the version v1.17.0. But there is another bug, which is the same in issue #18077.
Urgency
No response
Target platform
Windows 10
Build script
.\build.bat --config Release --parallel --skip_tests --skip_submodule_sync
Error / output
Visual Studio Version
2022
GCC / Compiler Version
C++ compiler version: 19.40.33811.0
The text was updated successfully, but these errors were encountered: