Open Srekel opened 1 month ago
Btw, sidenote, but in case you want to add a "projects using this", feel free to link to:
:)
I solved it by
changing to self.raylibSrcPath.src_path.sub_path
in raylib.build.zig
changing to var setup = try rlzb.Setup.init(b, .{ .src_path = .{ .owner = b, .sub_path = "external/raylib/src" } }, .{});
in my build.zig. :) I don't have a fork... yet.. so don't have a good way to PR it.
I took a stab at it but getting an error about using an absolute path, I haven't had time to dig into it further.
Most of it seems to be changing
step.addIncludePath(.{ .path = glfwInclude });
to something likestep.addIncludePath(b.path(glfwInclude));
Could simply be that after fixing these lines it's on the application's side.