I recently updated to the new current stable 0.16.0 and I guess I’m having migration/teething issues. I will provide further info on request. I’m new here, I don’t really know the norms.
❯ zig build install └─ install audio └─ compile exe audio Debug native 3 errors error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x1c note: in /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../lib/crt1.o:.sframe error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x2c note: in /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../lib/crt1.o:.sframe error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x1c note: in /usr/lib/libc_nonshared.a(atexit.oS):.sframe
I guess I should say that I am on Manjaro (ArchLinux). I added SDL3 (from codeburg) and ZigZag (from github, possibly not the latest, mite have moved?) to the project.
Is this possibly because zig isn’t using the folders that were installed with the zig binary? I used the AUR zig-0.16-bin package which installs in /opt/zig-0.16 and has a symlink to /usr/lib/zig.