Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Fix Windows compilation and debug assertion failure#110

Merged
danielzgtg merged 3 commits intomainfrom
fix/windowsAssert
Aug 15, 2025
Merged

Fix Windows compilation and debug assertion failure#110
danielzgtg merged 3 commits intomainfrom
fix/windowsAssert

Conversation

@danielzgtg
Copy link
Collaborator

@danielzgtg danielzgtg commented Aug 14, 2025

Fixes: #109
Also gets this to build in VS Code on Windows with https://gist.github.com/robotdad/83041ccfe1bea895ffa0739192771732 by fixing the array initialization. I've also tested winget install --interactive MSYS2.MSYS2 and https://code.visualstudio.com/docs/cpp/config-mingw , whose Debug button is too slow, but the Launch is fine.
The phonemizer change fixed undefined behavior, but I'm not sure that bug had caused the crash in #104.

settings.json I used for testing:

{
    "files.associations": {
        "array": "cpp"
    },
    "cmake.debugConfig": {
        "args": [
            "-nt",
            "4",
            "-p",
            "Hello",
            "-mp",
            "C:\\Users\\Home\\Downloads\\Kokoro_no_espeak.gguf"
        ]
    }
}

@danielzgtg danielzgtg mentioned this pull request Aug 14, 2025
@LostRuins
Copy link
Contributor

Can confirm this is necessary and fixes native compile on windows for me

@danielzgtg danielzgtg merged commit 8dcaec8 into main Aug 15, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

Windows debug assertion failed

2 participants