Skip to content

MSVC build failing #2

Open
Open
@hazeycode

Description

@hazeycode

On Windows 11:

PS C:\Users\rumco\Desktop\zig-gamedev\libs\zphysics> zig build -Dtarget=x86_64-windows-msvc
install
└─ install zphysics-tests
   └─ zig test zphysics-tests Debug x86_64-windows-msvc
      └─ zig build-lib joltc Debug x86_64-windows-msvc failure
error: error: unable to create compilation: LibCStdLibHeaderNotFound

Cross compiling from Linux gives many occurrences of the following:

error: argument unused during compilation: '-nostdinc++'
/home/chris/projects/zig-gamedev/libs/zphysics/libs/Jolt/Core/Core.h:11:11: error: 'winapifamily.h' file not found
 #include <winapifamily.h>

Regression introduced by adoption of Zig packager manager in zig-gamedev/zig-gamedev@1a80092

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions