Skip to content

Enable Static Linking of CRT #461

@wen2so

Description

@wen2so

The current build dynamically links the CRT (e.g., MSVCRT.dll), causing the executable to fail on clean installations windows—due to missing runtime libraries. This leads to compatibility, deployment, and stability issues.

I propose statically linking the CRT (e.g., using /MT in MSVC) to embed the runtime directly into the binary.

Benefits:

  • Eliminates external CRT dependencies, enabling true standalone execution.

  • Simplifies distribution and improves compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions