#unexpected build errors for ziglings

1 messages · Page 1 of 1 (latest)

tidal canyon
#

I started doing ziglings on aarch macos w/ version 0.14.0-dev.244+0d79aa017.
I decided to continue on windows with verison 0.14.0-dev.591+1c35e73b6, but am now getting build errors like

\ziglings.org\build.zig:268:18: error: expected type '*const fn (*Build.Step, Build.Step.MakeOptions) anyerror!void',```
and 

\ziglings.org\build.zig:439:29: error: member function expected 3 argument(s), found 2
return try self.step.evalZigProcess(zig_args.items, prog_node);```

how can I fix this?

hot oyster
#

having the full error trace would be helpful

tidal canyon
#

^ this is from extracting linux nightly 0.14.0-dev.591+1c35e73b6 myself

#

^ this is from scoop latest 0.14.0-dev.591+1c35e73b6

hot oyster
#

and this is the latest ziglings?

tidal canyon
#

i can try with .14.591 on mac and see if the build breaks there

#

oh... 0.14.591 breaks on mac as well

#

raf thanks for the help

hot oyster
#

right, that makes sense to me

#

so did just downgrading zig solve the issue?

tidal canyon
hot oyster
#

if your goal is to just get your foot in the door, I would just download 0.13 from ziglang.org/download

#

and use the ziglings 0.13 branch (I assume it'd have one)

tidal canyon
#

thats a good idea that i didnt do

#

but if someone else needs, u can still download other nightly versions with curl -O https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.244+0d79aa017.tar.xz with your desired version

#

but im guessing theyll be taken down at some point

hot oyster
#

The master version does regularly update, so the specific link isn't stable

#

But I believe master is an accepted alias