You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
I have problems compiling on manjaro Linux. Maybe related?
86%] Building CXX object CMakeFiles/OpenTomb.dir/src/state_control/state_control_Lara.cpp.o
[ 87%] Building CXX object CMakeFiles/OpenTomb.dir/src/state_control/state_control_LaraWeapons.cpp.o
En el fichero incluido desde /home/darkstar/Documentos/src/OpenTomb-master/src/state_control/state_control_LaraWeapons.cpp:3:
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:57:22: error: ‘size_t’ no se declaró en este ámbito
57 | void *Sys_GetTempMem(size_t size);
| ^~~~~~
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:12:1: nota: ‘size_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
11 | #include <SDL2/SDL_opengl.h>
+++ |+#include
12 |
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:58:6: error: se declaró la variable o campo ‘Sys_ReturnTempMem’ como void
58 | void Sys_ReturnTempMem(size_t size);
| ^~~~~~~~~~~~~~~~~
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:58:24: error: ‘size_t’ no se declaró en este ámbito
58 | void Sys_ReturnTempMem(size_t size);
| ^~~~~~
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:58:24: nota: ‘size_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
/home/darkstar/Documentos/src/OpenTomb-master/src/state_control/../core/system.h:64:29: error: ‘size_t’ no se ha declarado
64 | void Sys_Strtime(char *buf, size_t buf_size);
| ^~~~~~
make[2]: *** [CMakeFiles/OpenTomb.dir/build.make:835: CMakeFiles/OpenTomb.dir/src/state_control/state_control_LaraWeapons.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:157: CMakeFiles/OpenTomb.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It has something to do with size_t
managed to compile after including stddef.h (NOT as the compiler suggested though)
Then when running, the glx error poped up (workaround: disable antialias)
My distro is a debian 12 flavor (MX 23.1)
The text was updated successfully, but these errors were encountered: