-
Notifications
You must be signed in to change notification settings - Fork 181
Building examples on windows #8
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
Comments
Just for the record, I am able to get things working by manually building and linking raylib, but it would seem that something isn't quite functioning with the automated build. |
I don't have a Windows system to test and debug this, but from what I can see this seems to be a zig cc error. Can you try creating a zig build script only for GLFW? If the issue persists when only building that, please create an issue over in the zig repo. |
Hey I've got an update here.. so as it turns out the reason its not working is that the default target on windows is set to "-target native-native-msvc". If you set the target to "-target native-native-gnu" it builds just fine.
and then down in the examples
I got the idea from this suggestion: ziglang/zig#6565 , apparently this default target causes other issues too. |
ziglang/zig#6565 is solved now; the workaround will not be necessary in the upcoming 0.8.0 release. |
Uh oh!
There was an error while loading. Please reload this page.
I'm sure I'm just doing something wrong in the set up but something is going wrong when its pulling in the raylib module and compiling it. Here's an excerpt:
This is from just cloning the repo and following the 'getting started' steps to build the examples
The text was updated successfully, but these errors were encountered: