GuvaCode / ray4laz

A complete header translation (binding) of the raylib 5.5 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
https://www.raylib.com/
zlib License
108 stars 21 forks source link

Update fpc wrapper #24

Closed glowiak closed 10 months ago

glowiak commented 10 months ago

An update to the previous commit.

Now the wrapper can be executed from anywhere, and it will find the necessary files itself. Also now there is a strict bash shebang, as some especially Debian-based distros use the stupid "dash" as /bin/sh, and apparently dash is incompatible with bash. Also now it detects if fpc is not present, and prints an error message.

Also added a note in the readme about manual installation.

GuvaCode commented 10 months ago

Thanks for the changes. it would be nice for Windows too

glowiak commented 10 months ago

@GuvaCode Yes, but there is a problem.

In Linux when you install fpc, it is available in $PATH, while in windows most frequently it is not.

And unlike in Linux, where you will 100% find it in /usr/bin, on windows the binary can be anywhere.