Closed MartinAbilev closed 3 months ago
It compiles and runs well on my machine. Are you using latest zig compiler?
i use zig-windows-x86_64-0.14.0-dev.125+a016ca617
ok i found problem is when i copy sp demo in my clean project it not compile but i found from this repo it works so probably i miss something in my build.zig
Maybe the link option is missing? chipmunk
isn't linked by default, please see last parameter of jok.createGame
.
yup thats the reason thanks :)
src\main.zig:7:14: error: type '@TypeOf(null)' does not support field access var world: cp.World = undefined;
me new to zig so maybe something not get here