12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
cc -c -o src/raylua_s.o src/raylua_s.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11
make -C luajit amalg \
CC=cc BUILDMODE=static \
MACOSX_DEPLOYMENT_TARGET=10.13
make[1]: Entering directory '/home/victor/raylib-lua/luajit'
==== Building LuaJIT 2.1 (amalgamation) ====
make -C src amalg
make[2]: Entering directory '/home/victor/raylib-lua/luajit/src'
make all "LJCORE_O=ljamalg.o"
make[3]: Entering directory '/home/victor/raylib-lua/luajit/src'
HOSTCC host/minilua.o
HOSTLINK host/minilua
VERSION luajit.h
DYNASM host/buildvm_arch.h
HOSTCC host/buildvm.o
HOSTCC host/buildvm_asm.o
HOSTCC host/buildvm_peobj.o
HOSTCC host/buildvm_lib.o
HOSTCC host/buildvm_fold.o
HOSTLINK host/buildvm
BUILDVM lj_vm.S
ASM lj_vm.o
BUILDVM lj_ffdef.h
BUILDVM lj_bcdef.h
BUILDVM lj_folddef.h
BUILDVM lj_recdef.h
BUILDVM lj_libdef.h
CC ljamalg.o
AR libluajit.a
CC luajit.o
BUILDVM jit/vmdef.lua
LINK luajit
OK Successfully built LuaJIT
make[3]: Leaving directory '/home/victor/raylib-lua/luajit/src'
make[2]: Leaving directory '/home/victor/raylib-lua/luajit/src'
==== Successfully built LuaJIT 2.1 (amalgamation) ====
make[1]: Leaving directory '/home/victor/raylib-lua/luajit'
make -C raylib/src \
CC=cc AR=ar CFLAGS="-O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11" LDFLAGS="-O2 -s -lm luajit/src/libluajit.a raylib/src/libraylib.a -ldl -lpthread -lX11" \
USE_WAYLAND_DISPLAY="FALSE" \
USE_EXTERNAL_GLFW="TRUE" \
PLATFORM="PLATFORM_DESKTOP" GRAPHICS="GRAPHICS_API_OPENGL_33"
make[1]: Entering directory '/home/victor/raylib-lua/raylib/src'
cc -c rcore.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
rcore.c: In function ‘LoadAutomationEventList’:
rcore.c:2909:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2909 | fgets(buffer, 256, raeFile);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
rcore.c:2926:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
2926 | fgets(buffer, 256, raeFile);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -c rshapes.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
cc -c rtextures.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
cc -c rtext.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
cc -c utils.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
cc -c rmodels.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
cc -c raudio.c -O2 -s -Iluajit/src -Iraylib/src -Iraygui/src -Iphysac/src -DGRAPHICS_API_OPENGL_33 -DPLATFORM_DESKTOP -D_GLFW_X11 -I. -Iexternal/glfw/include
In file included from raudio.c:180:
external/miniaudio.h: In function ‘ma_device_stop__alsa’:
external/miniaudio.h:28086:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
28086 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsCapture)[0].fd, &t, sizeof(t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/miniaudio.h:28107:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
28107 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsPlayback)[0].fd, &t, sizeof(t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from raudio.c:282:
external/jar_mod.h: In function ‘jar_mod_load_file’:
external/jar_mod.h:1541:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1541 | fread(modctx->modfile, fsize, 1, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rmodels.o raudio.o
raylib static library generated (libraylib.a) in ../src!
make[1]: Leaving directory '/home/victor/raylib-lua/raylib/src'
luajit/src/luajit tools/lua2str.lua src/autogen/boot.c raylua_boot_lua src/raylib.lua src/compat.lua src/raylua.lua
luajit/src/luajit tools/genbind.lua src/autogen/bind.c raymath rlgl gestures physac raygui rcamera
then 4753 warns (most being "invalid entry nil")
and at the end theres:
luajit/src/luajit: tools/genbind.lua:133: Mismatching proto and function count : 6463 ~= 9398
stack traceback:
[C]: in function 'assert'
tools/genbind.lua:133: in main chunk
[C]: at 0x5bc6abe632d0
make: *** [makefile:97: src/autogen/bind.c] Error 1