-
Notifications
You must be signed in to change notification settings - Fork 19
Fix Windows build #117
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
Fix Windows build #117
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reproduced the .string()
problem, thank you for fixing our oversight of tts-server!
I made two minor suggestions for improvement.
@mmwillet Pinging as this will use your CI minutes. I plan to merge after 24 hours, despite the Windows runner being projected to more than triple the minutes used, because we weren't using many CI minutes to begin with. |
I do have Windows VMs, I might be able to test it out. @mrexodia, are you using msvc or mingw? Edit: Whoops probably should read the code first. |
I am using MSVC. If you want to test you can use a zig toolchain: https://github.com/mrexodia/zig-cross |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also update the README.md to show that we have Windows support?
I do not know what to change in the feature matrix because I did not test everything. I think this should be done by one of the maintainers and not a random contributing some minor compilation fixes 😅 |
I also fixed the Linux build, tested locally with Ubuntu 24.04 LTS |
Co-authored-by: ecyht2 <[email protected]>
std::numbers::pi
instead of non-standardM_PI
to fixdummy
buildpath.string()
where needed to fix compilation