Move | Pause | Reset |
---|---|---|
↑ ↓ | P | R |
Download the FPC according to your architecture and operating system https://www.freepascal.org/download.html or execute the command corresponding to your distro
- MacOS X
brew install fpc
- Linux CentOS
yum install fpc
- Linux Debian/Ubuntu/Mint
apt install fpc
just download the latest version according to your operating system https://github.com/raysan5/raylib/releases
create a folder path as ./bin
then make a symbolic link or copy the raylib libary shared(*.so
,*.dylib
, *.dll
) or static(*.a
) for this folder
execute to build game static
make RAYLIB_LIBTYPE=STATIC
or execute only
make
to use dynamic library
execute command ./bin/game
or simply double click on game
in the ./bin
folder.