capy-ui / capy

💻Build one codebase and get native UI on Windows, Linux and Web
https://capy-ui.org
Mozilla Public License 2.0
1.6k stars 60 forks source link

Broken on zig 0.12.0 as well as 0.11.0 #53

Closed MarioVieilledent closed 1 year ago

MarioVieilledent commented 1 year ago

For both versions I got the same error.

Path', found '*const [97:0]u8'
                .x86_64 => step.addObjectFile(prefix ++ "/src/backends/win32/res/x86_64.o"),
                                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Windows\zig-windows-x86_64-0.11.0\lib\std\Build.zig:1672:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
C:\Windows\zig-windows-x86_64-0.11.0\lib\std\Build\Step\Compile.zig:1013:46: note: parameter type declared here
pub fn addObjectFile(self: *Compile, source: LazyPath) void {
zenith391 commented 1 year ago

Duplicate of #51