k2-fsa / sherpa-onnx

Speech-to-text, text-to-speech, speaker diarization, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript, Flutter, Object Pascal, Lazarus, Rust
https://k2-fsa.github.io/sherpa/onnx/index.html
Apache License 2.0
3.66k stars 425 forks source link

windows 平台自定义 onnx runtime 路径错误 #1545

Closed endink closed 6 days ago

endink commented 6 days ago

DSHERPA_ONNX_USE_PRE_INSTALLED_ONNXRUNTIME_IF_AVAILABLEON , 同时指定如下环境变量:

onnxruntime.cmake 文件 153 行是否应该判断一下 MSVC 使用 .lib 而不是 .a

现在报错:location_onnxruntime_header_dir: location_onnxruntime_header_dir-NOTFOUND