MrBcx, sorry for the very brief answer in previous post, here are the errors when building QB64 and FreeBasic
QB64
internal\c/parts/core/src/freeglut_geometry.c: In function 'fghCircleTable':
internal\c/parts/core/src/freeglut_geometry.c:127:13: internal compiler error: Segmentation fault
127 | static void fghCircleTable(double **sint,double **cost,const int n)
| ^~~~~~~~~~~~~~
FreeBasic
CC src/rtlib/obj/win32/array_clear.o
CC src/rtlib/obj/win32/array_clearobj.o
during GIMPLE pass: loopdone
src/rtlib/array_clearobj.c: In function 'fb_hArrayCtorObj':
src/rtlib/array_clearobj.c:12:6: internal compiler error: Segmentation fault
12 | void fb_hArrayCtorObj( FBARRAY array, FB_DEFCTOR ctor )
| ^~~~