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

How to build it in windows? #30

Open
zjydhr opened this issue Jul 24, 2013 · 1 comment
Open

How to build it in windows? #30

zjydhr opened this issue Jul 24, 2013 · 1 comment

Comments

@zjydhr
Copy link

zjydhr commented Jul 24, 2013

untitled

vs-tools doesn't work, seems it's the problems of "include <wchar.h>",
but when include it:
C:/mingw64/bin\llvm-link: link error in 'C:\tmp\tmpz8qklq\espeak_3.o': Linking globals named '_Z8strncpy0PcPKci': symbol multiply defined!

@zjydhr
Copy link
Author

zjydhr commented Jul 26, 2013

Follow D:\GitHub\speak.js\platforms\windows\windows_cmd!ReadMe.txt, copy the .cpp and .h
Open espeak.dsw in vs, build
If "LINK : fatal error LNK1104: cannot open file 'LIBC.lib'"
Project-->Setting-->Linker-->Command Line-->Additional options: add " /nodefaultlib:libc"
Copy "espeak-data" folder to "\espeak-data", e.g. "D:\espeak-data"
After build, you can find a espeak.exe in D:\GitHub\speak.js\platforms\windows\windows_cmd\Debug
run it in cmd like >espeak "hello world"

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