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

Error in zig build #103

Open
TaduJR opened this issue Oct 18, 2023 · 2 comments
Open

Error in zig build #103

TaduJR opened this issue Oct 18, 2023 · 2 comments

Comments

@TaduJR
Copy link

TaduJR commented Oct 18, 2023

Switched to a new branch 'fordep'
/mnt/c/Users/Natu/Desktop/Desktop/zigup/dep/ziget/build.zig:194:61: error: expected type '?Build.LazyPath', found '[]const u8'
configure_openssl.cwd = openssl_repo.getPath(&configure_openssl.step);
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/home/natu/.bun/install/global/node_modules/@oven/zig-linux-x64/lib/std/Build.zig:1904:22: note: union declared here
pub const LazyPath = union(enum) {
^~~~~
referenced by:
addZigetModule: /mnt/c/Users/Natu/Desktop/Desktop/zigup/dep/ziget/build.zig:153:9
addZigupExe: /mnt/c/Users/Natu/Desktop/Desktop/zigup/build2.zig:119:15
remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following build command failed with exit code 255:
/mnt/c/Users/Natu/Desktop/Desktop/zigup/zig-cache/o/9bd5c5e1df548935c0e44c27108e3f2d/build /home/natu/.bun/install/global/node_modules/@oven/zig-linux-x64/zig /mnt/c/Users/Natu/Desktop/Desktop/zigup /mnt/c/Users/Natu/Desktop/Desktop/zigup/zig-cache /home/natu/.cache/zig

@kassane
Copy link
Contributor

kassane commented Oct 19, 2023

Try using Zig 0.11.0 for the build!
The master version has more compatibility breaks in the build-system.

@kassane
Copy link
Contributor

kassane commented Oct 21, 2023

Fix requested. Thanks for reporting.

@TaduJR TaduJR reopened this Nov 15, 2023
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

2 participants