[espeak-ng:master] new issue: Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by BaijinBullet:
#938 Windows 10 Build Failed - Cannot Find espeak-ng-data\*_dict

Hello, I built successfully on Linux, but cannot be built on Windows using Visual Studio 2017.

Used: Visual Studio 2017 Community with C++ and others Windows 8.1 SDK WiX v.3.11.2.4516 pcaudiolib (today's clone)

I receive this:

3>------ Rebuild All started: Project: data, Configuration: Debug x64 ------
3>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\data.vcxproj(80,5): error MSB3073: The command "C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\espeak-ng.exe --path=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\..\.. --compile-intonations" exited with code -1073741515.
3>Done building project "data.vcxproj" -- FAILED

Then:

4>------ Rebuild All started: Project: installer, Configuration: Debug x64 ------
4>		C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe -dDebug -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\\" -dSolutionDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -dSolutionExt=.sln -dSolutionFileName=espeak-ng.sln -dSolutionName=espeak-ng -dSolutionPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\espeak-ng.sln -dConfiguration=Debug -dOutDir=bin\x64\Debug\ -dPlatform=x64 -dProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\ -dProjectExt=.wixproj -dProjectFileName=installer.wixproj -dProjectName=installer -dProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\installer.wixproj -dTargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\ -dTargetExt=.msi -dTargetFileName=espeak-ng.msi -dTargetName=espeak-ng -dTargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.msi -despeak-ng.Configuration=Debug -d"espeak-ng.FullConfiguration=Debug|x64" -despeak-ng.Platform=x64 -despeak-ng.ProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -despeak-ng.ProjectExt=.vcxproj -despeak-ng.ProjectFileName=espeak-ng.vcxproj -despeak-ng.ProjectName=espeak-ng -despeak-ng.ProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\espeak-ng.vcxproj -despeak-ng.TargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\ -despeak-ng.TargetExt=.exe -despeak-ng.TargetFileName=espeak-ng.exe -despeak-ng.TargetName=espeak-ng -despeak-ng.TargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\espeak-ng.exe -dlibespeak-ng.Configuration=Debug -d"libespeak-ng.FullConfiguration=Debug|x64" -dlibespeak-ng.Platform=x64 -dlibespeak-ng.ProjectDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\ -dlibespeak-ng.ProjectExt=.vcxproj -dlibespeak-ng.ProjectFileName=libespeak-ng.vcxproj -dlibespeak-ng.ProjectName=libespeak-ng -dlibespeak-ng.ProjectPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\libespeak-ng.vcxproj -dlibespeak-ng.TargetDir=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\ -dlibespeak-ng.TargetExt=.dll -dlibespeak-ng.TargetFileName=libespeak-ng.dll -dlibespeak-ng.TargetName=libespeak-ng -dlibespeak-ng.TargetPath=C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\x64\Debug\libespeak-ng.dll -out obj\x64\Debug\ -pedantic -arch x64 Product.wxs
4>		C:\Program Files (x86)\WiX Toolset v3.11\bin\Light.exe -out C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.msi -pdbout C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\bin\x64\Debug\espeak-ng.wixpdb -cultures:null -pedantic -contentsfile obj\x64\Debug\installer.wixproj.BindContentsFileListnull.txt -outputsfile obj\x64\Debug\installer.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\x64\Debug\installer.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\installer.wixproj -ext WixUIExtension obj\x64\Debug\Product.wixobj
4>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\Product.wxs(346,0): error LGHT0103: The system cannot find the file 'C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\..\..\..\espeak-ng-data\phontab'.
4>C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\Product.wxs(349,0): error LGHT0103: The system cannot find the file 'C:\Users\moqi\eSpeakNG\espeak-ng\src\windows\installer\..\..\..\espeak-ng-data\phonindex'.

I made some changes to libespeak so that it is build; before this, it did not work as well. If relevant, can provide.

Urgently need to build on Windows, thank you!