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
I installed microzig as a dependency in my zig project using zig fetch {tarball from downloads.microzig.tech}, copypasted main.zig file from your examples folder for raspbery pi pico, copipasted build.zig file from examples root, deleted other build projects except blinky.
When I run zig build:
actual result
error zig/blink/build.zig:2:26: error: no module named 'microzig/build' available within module root.@build
const MicroZig = @import("microzig/build");
expected result:
uf2 or elf file builds ready to flash on my pico board
research:
shows that in microzig build.zig.zon .build dependency not marked with @ so i believe this is a some sort of private dependency. I tried to change import to just @import( microzig), but then i receive error init method not found.
I installed microzig as a dependency in my zig project using zig fetch {tarball from downloads.microzig.tech}, copypasted main.zig file from your examples folder for raspbery pi pico, copipasted build.zig file from examples root, deleted other build projects except blinky.
When I run zig build:
actual result
error
zig/blink/build.zig:2:26: error: no module named 'microzig/build' available within module root.@build
const MicroZig = @import("microzig/build");
expected result:
uf2 or elf file builds ready to flash on my pico board
research:
shows that in microzig build.zig.zon .build dependency not marked with @ so i believe this is a some sort of private dependency. I tried to change import to just
@import( microzig)
, but then i receive error init method not found.zig env(not full removed path variables)
"target": "x86_64-linux.6.9.12...6.9.12-gnu.2.39",
"env": {
"ZIG_GLOBAL_CACHE_DIR": null,
"ZIG_LOCAL_CACHE_DIR": null,
"ZIG_LIB_DIR": null,
"ZIG_LIBC": null,
"ZIG_BUILD_RUNNER": null,
"ZIG_VERBOSE_LINK": null,
"ZIG_VERBOSE_CC": null,
"ZIG_BTRFS_WORKAROUND": null,
"ZIG_DEBUG_CMD": null,
"CC": null,
"NO_COLOR": null,
"CLICOLOR_FORCE": null,
"XDG_CACHE_HOME": null,
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: