Compiling fails
When I tried to compile the game for the wii this error pops up:
source /etc/profile.d/devkit-env.sh make thread.c /home/kamion008/Downloads/cavEX/CavEX/source/platform/thread.c: In function 'thread_msleep': /home/kamion008/Downloads/cavEX/CavEX/source/platform/thread.c:129:9: error: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 129 | usleep(ms * 1000); | ^~~~~~ make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:21: thread.o] Error 1 make: *** [Makefile:112: build] Error 2
can you try and add the following directly after #ifdef PLATFORM_WII in source/platform/thread.c?
#define _BSD_SOURCE
I get the same error