#Error: unable to find zig installation directory: FileNotFound [Windows]

1 messages · Page 1 of 1 (latest)

tacit frigate
#

Been trying to resolve this for a while now, Have a simple hello world .zig file and can't get it to compile using zig build-exe testing.zig, throws the error above (title)

I've added zig to my window's env variables C:\Users\jan\Downloads\zig-windows-x86_64-0.13.0-dev.46+3648d7df1

And the file dir at the location looks like

Directory: C:\Users\jan\Downloads\zig-windows-x86_64-0.13.0-dev.46+3648d7df1


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        2024-05-03   2:21 PM                doc
d-----        2024-05-03   2:21 PM                lib
-a----        2024-05-03   2:21 PM           1080 LICENSE
-a----        2024-05-03   2:21 PM           5448 README.md
-a----        2024-05-03   2:21 PM      155551232 zig.exe

I simply downloaded the .zip for my system and extracted it and added to env variables

formal spoke
#

try deleting zig-cache, it could also be your antivirus (just realized its not a build.zig program)

tacit frigate
#

hmm is there a way to check if it is caused by the antivirus?

#

I don't know how to test that

formal spoke
#

try looking at the detection history

tacit frigate
#

seems this is all I got

formal spoke
#

is it possible the zig youre calling on the command line isnt the zig in your downloads folder? 😅 thats probably my last guess

#

where zig

boreal mauve
#

maybe try zig version manager too

tacit frigate
tacit frigate
formal spoke
tacit frigate
#

Works great now with zvm aPES_FastParty

#

thank you both for the help