#zigmode after $ zig build -j1. error: expected 1 argument, found 2 return @ptrCast

1 messages · Page 1 of 1 (latest)

ancient canopy
#

Hi, when I do the steps to install zigmod have a tons of error mesages after do this, some one knows why or how to solve it?
(current zig version 0.11.0-dev.3937+78eb3c561)
$ git clone https://github.com/nektro/zigmod
$ cd zigmod
$ zig build -j1
------------ error mesages -----------------
zig-cache\zigmod\deps\git\github.com\marlersoft\zigwin32\b70e7f818d77a0c0f39b0bd9c549e16439ff5780\win32\ai\machine_learning\win_ml.zig:1419:20: error: expected 1 argument, found 2
return @ptrCast(*const IMLOperatorKernelFactory.VTable, self.vtable).CreateKernel(@ptrCast(*const IMLOperatorKernelFactory, self), context, kernel);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zig-cache\zigmod\deps\git\github.com\marlersoft\zigwin32\b70e7f818d77a0c0f39b0bd9c549e16439ff5780\win32\ai\machine_learning\win_ml.zig:1470:20: error: expected 1 argument, found 2
return @ptrCast(*const IMLOperatorRegistry.VTable, self.vtable).RegisterOperatorSetSchema(@ptrCast(*const IMLOperatorRegistry, self), operatorSetId, baselineVersion, schema, schemaCount, typeInferrer, shapeInferrer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zig-cache\zigmod\deps\git\github.com\marlersoft\zigwin32\b70e7f818d77a0c0f39b0bd9c549e16439ff5780\win32\ai\machine_learning\win_ml.zig:1474:20: error: expected 1 argument, found 2
return @ptrCast(*const IMLOperatorRegistry.VTable, self.vtable).RegisterOperatorKernel(@ptrCast(*const IMLOperatorRegistry, self), operatorKernel, operatorKernelFactory, shapeInferrer)

GitHub

📦 A package manager for the Zig programming language. - GitHub - nektro/zigmod: 📦 A package manager for the Zig programming language.

halcyon mantle
#

dunno, but there is a package manager in zig currently

#

ask nektro tho

#

@muted mural