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

MSVC build failing #2

Open
hazeycode opened this issue Apr 6, 2024 · 0 comments
Open

MSVC build failing #2

hazeycode opened this issue Apr 6, 2024 · 0 comments
Labels
bug Something isn't working regression

Comments

@hazeycode
Copy link
Member

hazeycode commented Apr 6, 2024

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

@hazeycode hazeycode added the bug Something isn't working label Apr 6, 2024
@hazeycode hazeycode reopened this Jun 9, 2024
@hazeycode hazeycode transferred this issue from zig-gamedev/zig-gamedev Nov 5, 2024
@hazeycode hazeycode changed the title zphysics msvc build failing MSVC build failing Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression
Projects
None yet
Development

No branches or pull requests

1 participant