Snektron / vulkan-zig

Vulkan binding generator for Zig
MIT License
521 stars 60 forks source link

Error building example. #156

Closed drshapeless closed 3 months ago

drshapeless commented 3 months ago

When I run zig build --build-file $(pwd)/examples/build.zig run-triangle, the following error is shown.

vulkan-zig/examples/../src/build_integration.zig:188:51: error: root struct of file 'Build.Step' has no member named 'MakeOptions'
    fn make(step: *Build.Step, options: Build.Step.MakeOptions) !void {
                                        ~~~~~~~~~~^~~~~~~~~~~~
/home/jacky/zig/0.13.0/files/lib/std/Build/Step.zig:1:1: note: struct declared here
id: Id,
^~

I am using zig 0.13.0

Snektron commented 3 months ago

You should use the zig-0.13-compat branch

drshapeless commented 3 months ago

Thank you, the issue is solved.