Odin icon indicating copy to clipboard operation
Odin copied to clipboard

Raylib appears to be missing arm64 linux support out of the box

Open mboros1 opened this issue 1 year ago • 1 comments

Context

The checked in shared libraries under vendor/raylib/linux only support amd64 architecture

  • Operating System & Odin Version:

      Odin:    dev-2024-10:417e9bb37
      OS:      Fedora Linux Asahi Remix 40 (KDE Plasma), Linux 6.11.0-400.asahi.fc40.aarch64+16k
      CPU:     ARM64
      RAM:     31596 MiB
      Backend: LLVM 18.1.8
    

Expected Behavior

raylib example should just work on arm64 linux in the same way it does for other supported platforms

Current Behavior

When trying to run the raylib example get a linker error because libraylib.a is compiled for x86_64

Failure Information (for bugs)

/usr/bin/ld: skipping incompatible ///home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a when searching for -l:/home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a /usr/bin/ld: skipping incompatible ///home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a when searching for -l:/home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a /usr/bin/ld: cannot find -l:/home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a: No such file or directory /usr/bin/ld: skipping incompatible ///home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a when searching for -l:/home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a /usr/bin/ld: skipping incompatible ///home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a when searching for -l:/home/martinboros/git/Odin/vendor/raylib/linux/libraylib.a clang: error: linker command failed with exit code 1 (use -v to see invocation)

mboros1 avatar Oct 14 '24 18:10 mboros1