Hey. I'm using Manjaro Linux.
In my build.zig I have the following:
exe.linkLibC();
exe.linkSystemLibrary("m");
exe.linkSystemLibrary("glfw");
exe.linkSystemLibrary("epoxy");
exe.linkSystemLibrary("z");
And in some part of my code I have a @cImport like so:
pub usingnamespace @cImport({
@cInclude("stdio.h");
@cInclude("math.h");
@cInclude("time.h");
@cInclude("epoxy/gl.h");
@cInclude("GLFW/glfw3.h");
});
When I try to build it, it's telling me that it can't find either glfw or epoxy, which is strange, considering I have both installed.
It's also saying another thing:
/usr/lib/zig/lib/std/os.zig:148:24: error: root struct of file 'c' has no member named 'fd_t'
pub const fd_t = system.fd_t;
~~~~~~^~~~~
Am I doing something wrong?
I'm using zig 0.11.0-dev.2358+43a6384e9

