-
-
Notifications
You must be signed in to change notification settings - Fork 177
Upgrade Zig to new Mach nominated ver 0.14.0-dev.1911+3bf89f55c #718
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
Conversation
+ zgui: add endFrame
[zgpu] Remove kfreebsd as it is no longer supported by zig
Closes #695 Co-authored-by: CoffeeImpliesCode <[email protected]>
btw, nominations are still in progress. There was a bug in ZIG, it has been fixed, but it will probably be a different version than 0.14.0-dev.1710+8ee52f99c. |
@hazeycode I try compile this branch on my Mac and its compile without any problem. In my project I use zglfw, zpool, zjobs, ztracy, zgui, zflecs and everything works fine with new nominated zig. |
I can confirm this branch is building locally for me on an Intel Mac running macOS 13.5 and on an Apple silicon Mac running macOS 14.5. I wonder what's different with the CI runner environment. |
Other than macOS... Linux is working for me locally. For windows, I have pushed some more fixes, but |
I notice that zgpu and zphysics seem to be the only two libraries that are building with the I wonder if those two facts are related. |
I've been trying to fix this, but it's proving quite difficult. I believe that the issue is that dawn.lib, which is the precompiled lib we are just pulling from github as described in build.zig.zon, is exporting a bunch of these C++ function definitions that are conflicting with the definitions given elsewhere. I've tried all sorts of things to try to get zig to treat those definitions as "weakly linked" so that other definitions can override them without producing an error. So far nothing has helped. I don't know what changed in zig to produce this behavior, but could it also be that the dawn.lib that was compiled for Windows could be recompiled in a way that doesn't export some of those symbols? It makes me want to revisit #463 |
…svc (#725) zmesh: use the new @extern field, .is_dll_import, to link the memory allocation functions from a shared library with the -msvc ABI zphysics: fix compilation errors on msvc zphysics: fix the definition of JPC_CharacterBaseSettings to account for an MSVC padding quirk ztracy: fix compilation under .msvc (define `fileno` -> `_fileno` and fixup export / import defines)
Revert this after #718 is merged into main
Workaround to unblock #718
No description provided.