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

Errors while trying to build it on Windows 10 #293

Open
VicKov1975 opened this issue Dec 2, 2023 · 2 comments
Open

Errors while trying to build it on Windows 10 #293

VicKov1975 opened this issue Dec 2, 2023 · 2 comments

Comments

@VicKov1975
Copy link

I have downloaded the latest source code release from:
https://github.com/rhasspy/piper/archive/refs/tags/2023.11.14-2.zip

Unzipped it and executed the following commands (as per the Makefile example):

cmake -Bbuild -DCMAKE_INSTALL_PREFIX=install
cmake --build build --config Release

These are the errors I am getting:

LINK : fatal error LNK1181: cannot open input file '..\ucd-tools\Release\ucd.lib' [D:\piper-2023.11.14-2\build\p\src\pi
per_phonemize_external-build\e\src\espeak_ng_external-build\src\libespeak-ng\espeak-ng.vcxproj] [D:\piper-2023.11.14-2\
build\p\src\piper_phonemize_external-build\espeak_ng_external.vcxproj] [D:\piper-2023.11.14-2\build\piper_phonemize_ext
ernal.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): e
rror MSB8066: Custom build for 'D:\piper-2023.11.14-2\build\p\src\piper_phonemize_external-build\CMakeFiles\4de7af824a2
e6a4250327ee19e6463dd\espeak_ng_external-mkdir.rule;D:\piper-2023.11.14-2\build\p\src\piper_phonemize_external-build\CM
akeFiles\4de7af824a2e6a4250327ee19e6463dd\espeak_ng_external-download.rule;D:\piper-2023.11.14-2\build\p\src\piper_phon
emize_external-build\CMakeFiles\4de7af824a2e6a4250327ee19e6463dd\espeak_ng_external-update.rule;D:\piper-2023.11.14-2\b
uild\p\src\piper_phonemize_external-build\CMakeFiles\4de7af824a2e6a4250327ee19e6463dd\espeak_ng_external-patch.rule;D:\
piper-2023.11.14-2\build\p\src\piper_phonemize_external-build\CMakeFiles\4de7af824a2e6a4250327ee19e6463dd\espeak_ng_ext
ernal-configure.rule;D:\piper-2023.11.14-2\build\p\src\piper_phonemize_external-build\CMakeFiles\4de7af824a2e6a4250327e
e19e6463dd\espeak_ng_external-build.rule;D:\piper-2023.11.14-2\build\p\src\piper_phonemize_external-build\CMakeFiles\4d
e7af824a2e6a4250327ee19e6463dd\espeak_ng_external-install.rule;D:\piper-2023.11.14-2\build\p\src\piper_phonemize_extern
al-build\CMakeFiles\d6e5a63a0695a2da45ff4c20dcf696c5\espeak_ng_external-complete.rule;D:\piper-2023.11.14-2\build\p\src
\piper_phonemize_external-build\CMakeFiles\567da02d5c4a2d1acb75db31a503bc9e\espeak_ng_external.rule;D:\piper-2023.11.14
-2\build\p\src\piper_phonemize_external\CMakeLists.txt' exited with code 1. [D:\piper-2023.11.14-2\build\p\src\piper_ph
onemize_external-build\espeak_ng_external.vcxproj] [D:\piper-2023.11.14-2\build\piper_phonemize_external.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): e
rror MSB8066: Custom build for 'D:\piper-2023.11.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize
_external-mkdir.rule;D:\piper-2023.11.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-d
ownload.rule;D:\piper-2023.11.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-update.ru
le;D:\piper-2023.11.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-patch.rule;D:\piper
-2023.11.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-configure.rule;D:\piper-2023.1
1.14-2\build\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-build.rule;D:\piper-2023.11.14-2\buil
d\CMakeFiles\3e4c50a91de83487ab78b615f60702fe\piper_phonemize_external-install.rule;D:\piper-2023.11.14-2\build\CMakeFi
les\654145fed73a8640bfa5fe1aa3073ce1\piper_phonemize_external-complete.rule;D:\piper-2023.11.14-2\build\CMakeFiles\9c89
3f10a5bc22f032d4625920ced12d\piper_phonemize_external.rule;D:\piper-2023.11.14-2\CMakeLists.txt' exited with code 1. [D
:\piper-2023.11.14-2\build\piper_phonemize_external.vcxproj]

The reason I need to build it from source is to get all the libs and dlls in release mode to use them in another C++ project.

@GiviMAD
Copy link

GiviMAD commented Dec 3, 2023

The Windows build has been broken by these PR on the piper espeak fork rhasspy/espeak-ng#1. But the issues are disabled in that repo, so I can not report it.

@csukuangfj
Copy link

The Windows build has been broken by these PR on the piper espeak fork rhasspy/espeak-ng#1. But the issues are disabled in that repo, so I can not report it.

could you try rhasspy/piper-phonemize#21

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

3 participants