fbraylib 3.0 dynamic/static Windows/linux 32/64 bit.

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

fbraylib 3.0 dynamic/static Windows/linux 32/64 bit.

Post by D.J.Peters »

This version of rayLib comes with ~ 630 declared functions and methods and minimum requirement are only OpenGL 2.1 !

homepage: https://www.raylib.com/

source code:https://github.com/raysan5/raylib

doenload : fbraylib-3.0.zip

Joshy
Last edited by D.J.Peters on Oct 12, 2022 18:22, edited 2 times in total.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: fbraylib 3.0 dynamic/static Windows/linux 32/64 bit.

Post by D.J.Peters »

Tip how you build rayLib 3.x on Linux for example on Ubuntu:

<be sure this packages are installed>

sudo apt install build-essential git
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev

!!! from here you have sudo rights on current console session !!!

<get the source code>
git clone https://github.com/raysan5/raylib.git raylib

< change in the new raylib source directory >
cd raylib/src/

< make the static version >
make PLATFORM=PLATFORM_DESKTOP
sudo make install

< build the the static version of the examples >
cd ../examples
make PLATFORM=PLATFORM_DESKTOP

< make the shared version >
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED
sudo make install RAYLIB_LIBTYPE=SHARED

< build the the dynamic version of the examples >
cd ../examples
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED

mkdir --parents --verbose /usr/local/lib
mkdir --parents --verbose /usr/local/include

'< copy /home/joshy/raylib/src/libraylib.so.3.0.0' -> '/usr/local/lib/libraylib.so.3.0.0' >
cp --update --verbose /home/joshy/raylib/src/libraylib.so.3.0.0 /usr/local/lib/libraylib.so.3.0.0

<link "libraylib.so.300" -> "libraylib.so.3.0.0" >
cd /usr/local/lib
ln -fsv libraylib.so.3.0.0 libraylib.so.300

<link "libraylib.so" -> "libraylib.so.300" >
ln -fsv libraylib.so.300 libraylib.so

<make the lib visible for the linker>
ldconfig /usr/local/lib

Joshy
Post Reply