Skip to content

Unable to compile from source with the files provided. #10

@GH0STP4WZ

Description

@GH0STP4WZ

Currently, running zig build returns the following error output.

/home/riddim_glitch/utilities/client-mods/kernel-mod/installer-cli/build.zig:2:22: error: unable to load '/home/riddim_glitch/utilities/client-mods/kernel-mod/installer-cli/deps.zig': FileNotFound
const pkgs = @import("deps.zig").pkgs;
^~~~~~~~~~
/home/riddim_glitch/utilities/client-mods/kernel-mod/installer-cli/build.zig:13:19: error: no field or member function named 'standardReleaseOptions' in 'Build'
const mode = b.standardReleaseOptions();
~^~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/zig/std/Build.zig:1:1: note: struct declared here
const std = @import("std.zig");
^~~~~
referenced by:
runBuild__anon_7165: /usr/lib/zig/std/Build.zig:1638:27
remaining reference traces hidden; use '-freference-trace' to see all reference traces

It's looking for a file called deps.zig I'm assuming from common knowledge that this is the file that lists all the required packages that this program depends on. I have also noticed that your .gitignore file happens to contain just this file. I cannot continue without that file present, and I am unable to generate that file myself (unless I am being stupid and it can be done. Note that this is my first time compiling with Zig and Gyro.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions