Replies: 2 comments 1 reply
-
|
I can see what is happening. Onnxruntime is expecting the model path to be const wchar_t* in Windows rather than const char*. This is set in a #DEFINE in onnxruntine_c_api.h. The only thing I can see to do without changing the piper API is to convert the string before the call to Ort::Session. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I ran into the same problem. Fixing the wchar_t problem is not enough. I submitted a pull request that allows build in Visual Studio 2026: |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I am getting a compile error when trying to build libpiper in Developer PowerShell in MSVC 2026.
See attachment:
temp.txt
Thanks Phil.
Beta Was this translation helpful? Give feedback.
All reactions