-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing FFI functions #5
Comments
After commenting a few function bindings (
That is on the initialization of the Vector2. What version of raylib is actually supported with these bindings? |
Hello @julik these bindings are for Raylib 4.5. They released version 5.0 about 6 months ago. I haven't looked into this yet, but can you try to install an earlier version of the native homebrew raylib package? |
It doesn't look like Homebrew has an older formula with a version, so I would have to install all the way from scratch (which is a bit terrifying) 😱 Is there a way to regen the bindings? |
@julik, the link to the archive is still valid. Homebrew stores the formulas in a git repository, so there's surely a way to point your homebrew to an earlier version. https://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula Alternatively, you'll need to compile raylib from the source. With their Upgrading the bindings from Raylib v4.5 to v5.0 is not an easy task. There are a lot of dependencies. I'll need to check the validity of every function and manually test all examples. I'll do it someday. In any case, thanks for bringing this to my attention! This explains why the project stopped getting stars. I'll update the documentation at some point and even implement a version check with troubleshooting instructions. |
Hi! I've tried to play with the project a bit, but I don't manage to get the script to run. I get this error:
I've looked for the function in the raylib GH repo but it doesn't show anywhere. Could it be that the FFI bindings need to be regenerated from time to time?
Ruby is
and this is macOS Monterey (10.12) and raylib is installed using brew (
brew install raylib
)The text was updated successfully, but these errors were encountered: