Open mboros1 opened 1 month ago
I compiled raylib and replaced it in the linux directory and it worked. Trying to compile libraygui statically but I can't get it to work because it would require statically compiled libGL, which I am not able to get to work using mesa. Any hints on how you guys statically compile libraygui for linux?
Context
The checked in shared libraries under vendor/raylib/linux only support amd64 architecture
Operating System & Odin Version:
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)