raylib-odin
raylib-odin copied to clipboard
Running On Linux
When trying to run on Linux the example programs fail to build because the linker is failing to find raylib.lib. Here are the exact errors called:
/usr/bin/ld: cannot find -l/home/batman/dev/raylib-odin/lib/raylib.lib
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
I am not knowledgeable about Odin to try and fix this myself. Any help is greatly appreciated.
Had the same problem.
I made it work by installing raylib from repository and changing raylib_binding import to system:raylib
Not the best solution, but you can get something working with it.
When I try that syntax, I get this now: Syntax Error: The library collection 'system' is restrict for 'foreign_library' Any ideas?
The syntax for importing libraries has changed recently--check CHANGELOG.txt
in the Jai compiler! I don't have time currently to keep this project up to date, but I'm happy to accept pull requests for fixes.
Any solutions to this yet?
@a-y-u-s-h this repo is now being updated here IMO https://github.com/ftommasi/raylib-odin