sherpa-onnx
sherpa-onnx copied to clipboard
Buid failed on windows with cuda
When enabling cuda on Windows it failed with the error
error: could not find native static library `onnxruntime`, perhaps an -L flag is missing?
Although I already link it. seems like it doesn't produce libonnxruntime?
Or maybe it produce it in different foldeR?
Action run: https://github.com/thewh1teagle/sherpa-rs/actions/runs/9881675671/job/27292952044
Build options: https://github.com/thewh1teagle/sherpa-rs/blob/main/sys/build.rs
You can see that without cuda it build sueccessfuly.
Another action with debug steps:
https://github.com/thewh1teagle/sherpa-rs/actions/runs/9882452000/job/27295323663 You can see that it produce onnxruntime.lib but in the nvidia action there it's not there.