daisy / pipeline-modules

Modules for the DAISY Pipeline project
3 stars 4 forks source link

Latest version on Windows gives UnsatisfiedLinkError in com.microsoft.cognitiveservices.speech.SpeechConfig #97

Open bertfrees opened 3 days ago

bertfrees commented 3 days ago

It seems that the Microsoft Visual C++ Redistributable for Visual Studio is a dependency of the speech SDK, but we never ensured this.

Perhaps this has something to do with the fact that I dropped the jnaerator dependency. JNA statically links against msvcr100.dll.

bertfrees commented 3 days ago

@NPavie experiences the same issue after he installed https://github.com/gexgd0419/NaturalVoiceSAPIAdapter/releases/tag/v0.1

Could not initialize class com.microsoft.cognitiveservices.speech.SpeechConfig Exception java.lang.UnsatisfiedLinkError: 'void com.microsoft.cognitiveservices.speech.SpeechConfig.setTempDirectory(java.lang.String)' [in thread "qtp1360393616-68 - /ws/voices"]

The issue disappears if he uninstalls the tool.