sherpa-onnx icon indicating copy to clipboard operation
sherpa-onnx copied to clipboard

Build error on Linux

Open thewh1teagle opened this issue 7 months ago • 7 comments

I noticed that recently sherpa-onnx was refactored to allow using the c library without compile the binaries. It fixed issues on macOS, however on Windows I still get the following compile error:

 CMake Error at cmake_install.cmake:187 (file):
   file INSTALL cannot find
   "C:/Users/User/Documents/code/sherpa-rs/target/debug/build/sherpa-rs-sys-27a8ed25bdc9475f/out/build/lib/Release/sherpa-onnx-portaudio_static.lib":
   No error.

Full log: log.txt

Build options: build.rs

When setting SHERPA_ONNX_ENABLE_BINARY to ON on Windows, the problem solve and it compile without errors.

thewh1teagle avatar Jul 07 '24 22:07 thewh1teagle