You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to configure libxev in my Zig project on a Ubuntu linux aarch64 guest VM on a macOS aarch64 host using OrbStack, and Zig version 0.14.0-dev.2989+bf6ee7cb3 (installed through ZVM from master branch)
I followed the guide (kinda) and I hope I didn't make some silly mistake here, this is what I did:
Ran command zig fetch --save git+https://github.com/mitchellh/libxev#main to automatically add this to the build.zig.zon file:
Hello, I'm trying to configure
libxev
in my Zig project on a Ubuntu linux aarch64 guest VM on a macOS aarch64 host using OrbStack, and Zig version0.14.0-dev.2989+bf6ee7cb3
(installed through ZVM from master branch)I followed the guide (kinda) and I hope I didn't make some silly mistake here, this is what I did:
zig fetch --save git+https://github.com/mitchellh/libxev#main
to automatically add this to thebuild.zig.zon
file:build.zig
part in the documentation didn't work for me, complainingexe.addModule
has noaddModule
function.So I checked what other libraries where doing, that I know were working for me and this is the changed code in
build.zig
:Now that function exists, but I still have a build error as following:
I also tried removing these folders, but it didn't fix anything:
./zig-out
,./.zig-cache/
and~/.cache/zig/
What could be wrong?
These are my system specs for macOS:
These are the linux VM specs:
Thank you
The text was updated successfully, but these errors were encountered: