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

Doesnt compile #33

Closed dumheter closed 1 year ago

dumheter commented 1 year ago

Using zig version 0.10.0 I get a compile error out of the box:

zig build run 
C:\m_programs\zig\zig_0_10\lib\std\build.zig:2314:31: error: deprecated; use addIncludePath
    pub const addIncludeDir = @compileError("deprecated; use addIncludePath");
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    addRaylib: c:\dev\mazetd\deps\raylib-zig\raylib\src\build.zig:38:19
    link: c:\dev\mazetd\deps\raylib-zig\lib.zig:18:27
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

Compilation exited abnormally with code 1 at Tue Jan 17 15:05:36

Raylib has fixed this in https://github.com/raysan5/raylib/commit/8f88c61bdfe1e6e009dd6f182bc7a2f5c8b38f15 , could you update the submodule to include it?

Not-Nik commented 1 year ago

Fixed in 1e06706bff87c39738b339eec90e8d20db2ba122