Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Many thanks Ray.. I followed your lead and downloaded libraylib.so

Then did :

gcc EX.c -fmax-errors=1000 -lGL -L./libraylib -L./libglfw -o a.exe

where libraylib.so and libglfw.so are in same folder as EX.c and

EX.c is identical to  your website example file for:

raylib [shapes] example - draw circle sector (with gui options)
*   This example has been created using raylib 2.5 (www.raylib.com

BUT I still get tons of 'undefined references' 

 ...What am I doing wrong ??

I recommend you ask on raylib Discord forum, it's easier to track the issue than here.

(1 edit)

idk if you still have this issue but how it have it set up is:
libraylib.a is lib/
raylib.h in include/
and i have the main.c file in the source/ folder

and from the build/ bolder i run this
gcc -static -static-libgcc -static-libstdc++ ../source/** -o game.exe -O2 -Wall -Wno-missing-braces -I ../include/ -L ../lib/ -lraylib -lopengl32 -lgdi32 -lwinmm -mwindows
(the same thing works on c++ just replace gcc with g++)