Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find lib files on windows #693

Open
DareDeviLXDD opened this issue Jan 5, 2025 · 0 comments
Open

Can't find lib files on windows #693

DareDeviLXDD opened this issue Jan 5, 2025 · 0 comments

Comments

@DareDeviLXDD
Copy link

I've linked against piper-phonemize on windows but i keep getting a link error and when i built piper from source it came with lib files for other libraries like piper-phonemize, onnx etc but not for piper itself here's the error

error LNK2019: unresolved external symbol "void __cdecl piper::initialize(struct piper::PiperConfig &)" (?initialize@piper@@YAXAEAUPiperConfig@1@@Z) referenced in function main

error LNK2019: unresolved external symbol "void __cdecl piper::terminate(struct piper::PiperConfig &)" (?terminate@piper@@YAXAEAUPiperConfig@1@@Z) referenced in function main

error LNK2019: unresolved external symbol "void __cdecl piper::loadVoice(struct piper::PiperConfig &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct piper::Voice &,class std::optional<__int64> &,bool)" (?loadVoice@piper@@YAXAEAUPiperConfig@1@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1AEAUVoice@1@AEAV?$optional@_J@4@_N@Z) referenced in function main

error LNK2019: unresolved external symbol "void __cdecl piper::textToAudio(struct piper::PiperConfig &,struct piper::Voice &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::vector<short,class std::allocator<short> > &,struct piper::SynthesisResult &,class std::function<void __cdecl(void)> const &)" (?textToAudio@piper@@YAXAEAUPiperConfig@1@AEAUVoice@1@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV?$vector@FV?$allocator@F@std@@@5@AEAUSynthesisResult@1@AEBV?$function@$$A6AXXZ@5@@Z) referenced in function main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant