@SonnyBonds@mastodon.gamedev.place
Post #1215524
2026-03-08 10:53 UTC
This project, which does pretty much the same thing that I'm doing now, uses addObjectFile. I've successfully used that project up until now, so I guess that _should_ work and is the way to go. I wonder why it doesn't like the resulting library when I do it. The only obvious difference I can see is that their module has actual Zig code in it wrapping wgpu, while mine is a pure translation of the C header.
https://github.com/bronter/wgpu_native_zig/blob/main/build.zig
Replies (1)
-
@SonnyBonds@mastodon.gamedev.place 2026-03-08 10:55
Actually now that I look closer at it, that one does both. And I've somewhat forgotten why I didn't want to use it. 😬