Last active 5 months ago


Last active 9 months ago


Last active 1 year, 1 day ago


Last active 2 years ago

#74 Build fails on OpenSuse Tumbleweed with latest available zig (version 0.10.1) 7 months ago

Ticket created by ~thalia on ~mil/mepo-tickets

After installing the dependencies with sudo zypper in zig{,-libs} SDL2{,-devel,_ttf-devel,_image-devel} libSDL2_gfx-{1_0-0,devel} and setting my path with export PATH="$PATH:$(realpath $(pwd))/scripts", running zig build run resulted in the following error:

/home/thalia/.local/src/mepo/build.zig:16:34: error: expected struct or union; found '[]const u8'
        .source_dir = .{ .path = "scripts" },
referenced by:
    runBuild: /usr/lib/zig/build_runner.zig:232:22
    usage__anon_5090: /usr/lib/zig/build_runner.zig:242:13
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

This was the case with both the 1.2.0 tarball and a clone of the master branch.