#error: no field named 'path' in union 'Build.LazyPath'

1 messages · Page 1 of 1 (latest)

dapper cairn
#

I follow the instruct here https://github.com/Not-Nik/raylib-zig, download and run project_setup.sh,
but got error on 'zig build run'
/Users/relaxslow/Documents/try/zigProject/zigpong/build.zig:34:79: error: no field named 'path' in union 'Build.LazyPath'
const exe = b.addExecutable(.{ .name = "zigpong", .root_source_file = .{ .path = "src/main.zig" }, .optimize = optimize, .target = target });
^~~~
/opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2171:22: note: union declared here
pub const LazyPath = union(enum) {