VS2017 error C3615 #24083
Unanswered
xiaoqiang-l
asked this question in
API Q&A
VS2017 error C3615
#24083
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a question about C++ deployment. When I deployed the exported onnx model of YOLOV11 locally, the onnxruntime version used at this time was 1.14.1 (CPU), and I encountered an error "onnxruntime::Model::Model Unsupported model IR version: 9, max supported IR version: 8". So, I tried to upgrade the onnxruntime version. However, I installed 1.16.0, 1.17.0, and 1.21.0 through nuget. When compiling the project, I encountered C3615 errors, all of which were "Error C3615 constexpr function "Ort::Float16_t::Float16_t" does not generate a constant expression" in the onnxruntime_cxx_api.h file. My compiler is VS2017. How can I solve this problem? It is worth noting that when I deploy YOLOV8 locally and use onnxruntime=1.14.1, no IR error or C3615 error will be reported. Looking forward to your help
Beta Was this translation helpful? Give feedback.
All reactions