Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
473 stars 101 forks source link

Error in Vector3Length while building examples #21

Closed viktor-ferenczi closed 2 years ago

viktor-ferenczi commented 2 years ago
C:\Dev\Zig\raylib-zig>zig version
0.10.0-dev.1877+f3b3d7f20

C:\Dev\Zig\raylib-zig>zig build examples
C:\Dev\Zig\raylib-zig\lib\raylib-zig-math.zig:47:32: error: expected type expression, found 'const'
pub extern fn Vector3Length(v: const Vector3) f32;
                               ^
2d_camera...The following command exited with error code 1:
C:\Zig\zig.exe build-exe C:\Dev\Zig\raylib-zig\examples\core\2d_camera.zig C:\Dev\Zig\raylib-zig\zig-cache\o\5939d4ede160d8752b29f69d6ffb6f80\raylib.lib -lwinmm -lgdi32 -lopengl32 -lc -lwinmm -lgdi32 -lopengl32 --cache-dir C:\Dev\Zig\raylib-zig\zig-cache --global-cache-dir C:\Users\fviktor\AppData\Local\zig --name 2d_camera --pkg-begin raylib C:\Dev\Zig\raylib-zig\lib\raylib-zig.zig --pkg-end --pkg-begin raylib-math C:\Dev\Zig\raylib-zig\lib\raylib-zig-math.zig --pkg-end --enable-cache
error: the following build command failed with exit code 1:
C:\Dev\Zig\raylib-zig\zig-cache\o\c24318668343d4fd17995d66166b9eb6\build.exe C:\Zig\zig.exe C:\Dev\Zig\raylib-zig C:\Dev\Zig\raylib-zig\zig-cache C:\Users\fviktor\AppData\Local\zig examples
Not-Nik commented 2 years ago

Closed by #20