OpenTomb
OpenTomb copied to clipboard
compile error: core/system.h needs to #include <stddef.h>
It has something to do with size_t
managed to compile after including stddef.h (NOT
Then when running, the glx error poped up (workaround: disable antialias) My distro is a debian 12 flavor (MX 23.1)
Can confirm, same problem and solved by adding stddef.h to core/system.h
System: Arch Linux x64
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 ‘