Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Riddim-GLiTCH opened this issue Feb 17, 2024 · 0 comments
Open

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

Riddim-GLiTCH opened this issue Feb 17, 2024 · 0 comments

Comments

@Riddim-GLiTCH
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant