You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to confirm that I will be able to use zflecs and possibly other zig-gamedev libs in my project.
It seems I am able to compile it successfully for the native platforms, but getting an error building it for the web.
My steps:
Add zflecs to zon file: zig fetch --save=zflecs git+https://github.com/zig-gamedev/zflecs.git
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I am trying to confirm that I will be able to use zflecs and possibly other zig-gamedev libs in my project.
It seems I am able to compile it successfully for the native platforms, but getting an error building it for the web.
My steps:
Add
zflecsto zon file:zig fetch --save=zflecs git+https://github.com/zig-gamedev/zflecs.gitAdd to build config.
2.1 Native
2.2 Web
Add basic initialization to make sure the linking is ok:
Native build works just fine, but getting an error when building for the web
zig build -Dtarget=wasm32-emscriptenBeta Was this translation helpful? Give feedback.
All reactions