I tried to compile my game in a docker container, but it gave me this error:
/content/QuickGame/interpreter/graphics.c: In function 'lua_qg_set_clear_color':
/content/QuickGame/interpreter/graphics.c:28:17: error: implicit declaration of function 'luaL_checkint'; did you mean 'luaL_checkany'? [-Wimplicit-function-declaration]
28 | int color = luaL_checkint(L, 1);
| ^~~~~
| luaL_checkany
make[2]: [QuickGame/CMakeFiles/interpreter.dir/build.make:90: QuickGame/CMakeFiles/interpreter.dir/interpreter/graphics.c.obj] Error 1
make[1]: [CMakeFiles/Makefile2:184: QuickGame/CMakeFiles/interpreter.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
I tried to compile my game in a docker container, but it gave me this error:
/content/QuickGame/interpreter/graphics.c: In function 'lua_qg_set_clear_color': /content/QuickGame/interpreter/graphics.c:28:17: error: implicit declaration of function 'luaL_checkint'; did you mean 'luaL_checkany'? [-Wimplicit-function-declaration] 28 | int color = luaL_checkint(L, 1); | ^
~~~~ | luaL_checkany make[2]: [QuickGame/CMakeFiles/interpreter.dir/build.make:90: QuickGame/CMakeFiles/interpreter.dir/interpreter/graphics.c.obj] Error 1 make[1]: [CMakeFiles/Makefile2:184: QuickGame/CMakeFiles/interpreter.dir/all] Error 2 make: *** [Makefile:91: all] Error 2