Open thewh1teagle opened 2 hours ago
please use shared libs.
please use shared libs.
I prefer not to use shared libraries, as they would require users to manually include them. Instead, I use static libraries by default and automatically download and link them in the Rust library. Is it still possible to proceed this way?
I use the pre compiled libraries from releases in sherpa-rs for faster build. But there's some issues on Windows and Linux:
On Windows: Seems like tts is not enabled
On Linux: pic compiler flag not enabled and because of that the build failed from Rust with error:
It works only if I set
It should be fixed if you compile the binaries and pass
fPIC
flag.Also, some requests / questions: Do you enable all the feature flags in the compiled libs in general? Can you add DirectML to binaries?