You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ zig build run
info: building for desktop
warning: deprecated. call std.Build.path instead
info: include '/home/gree/workspace/examples-raylib.zig/src/raylib/raylib/src' to raylib-zig-examples
info: include '/home/gree/workspace/examples-raylib.zig/src/raylib' to raylib-zig-examples
info: include '/home/gree/workspace/examples-raylib.zig/src/raylib/raylib/src' to raylib.zig
info: include '/home/gree/workspace/examples-raylib.zig/src/raylib' to raylib.zig
thread 9732 panic: file paths added with 'addCSourceFiles' must be relative, found absolute path '/home/gree/workspace/examples-raylib.zig/src/raylib/raylib/src/rcore.c'
/usr/lib/zig/std/Build/Module.zig:466:28: 0x11e3e99 in addCSourceFiles (build)
std.debug.panic(
^
/usr/lib/zig/std/Build/Step/Compile.zig:785:37: 0x118137f in addCSourceFiles (build)
self.root_module.addCSourceFiles(options);
^
/home/gree/workspace/examples-raylib.zig/src/raylib/raylib/src/build.zig:253:28: 0x1141ea3 in addCSourceFilesVersioned (build)
exe.addCSourceFiles(.{
^
/home/gree/workspace/examples-raylib.zig/src/raylib/raylib/src/build.zig:51:29: 0x1140d04 in addRaylib__anon_13667 (build)
addCSourceFilesVersioned(raylib, &.{
^
/home/gree/workspace/examples-raylib.zig/src/raylib/build.zig:108:46: 0x10f3d3c in addTo (build)
const lib_raylib = raylib_build.addRaylib(b, b.resolveTargetQuery(target), optimize, raylibOptions) catch |err| std.debug.panic("addRaylib: {any}", .{err});
^
/home/gree/workspace/examples-raylib.zig/build.zig:214:25: 0x10f2428 in build (build)
raylib.addTo(b, exe, target.query, mode, .{});
^
/usr/lib/zig/std/Build.zig:2080:43: 0x10d3734 in runBuild__anon_9000 (build)
.ErrorUnion => try build_zig.build(b),
^
/usr/lib/zig/compiler/build_runner.zig:300:29: 0x10ceea3 in main (build)
try builder.runBuild(root);
^
/usr/lib/zig/std/start.zig:511:37: 0x10b5185 in posixCallMainAndExit (build)
const result = root.main() catch |err| {
^
/usr/lib/zig/std/start.zig:253:5: 0x10b4ca1 in _start (build)
asm volatile (switch (native_arch) {
^
???:?:?: 0x8 in ??? (???)
Unwind information for `???:0x8` was not available, trace may be incomplete
error: the following build command crashed:
/home/gree/workspace/examples-raylib.zig/zig-cache/o/e5e0cf81a747ed86addf73d3bc8e8020/build /usr/bin/zig /home/gree/workspace/examples-raylib.zig /home/gree/workspace/examples-raylib.zig/zig-cache /home/gree/.cache/zig --seed 0x100fd1f7 -Z996771af16a3a75f run
The build process initially fails on:
If I do this:
It gets a little further, but then it fails with:
The text was updated successfully, but these errors were encountered: