MinecraftC
MinecraftC copied to clipboard
cute_headers repo returns 404
One of your external repo (cute_headers) returns 404 status.
I believe this causes the compilation to fail.
My guess is, the repo changed its status to private.
[ 1%] Building C object CMakeFiles/MinecraftC.dir/MinecraftC/GUI/BlockSelectScreen.c.o
In file included from /usr/include/SDL2/SDL_config.h:51,
from /usr/include/SDL2/SDL_stdinc.h:33,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:31,
from /home/user/git/MinecraftC/MinecraftC/GUI/../Render/../GameSettings.h:4,
from /home/user/git/MinecraftC/MinecraftC/GUI/../Render/TextureManager.h:3,
from /home/user/git/MinecraftC/MinecraftC/GUI/FontRenderer.h:3,
from /home/user/git/MinecraftC/MinecraftC/GUI/GUIScreen.h:4,
from /home/user/git/MinecraftC/MinecraftC/GUI/BlockSelectScreen.h:2,
from /home/user/git/MinecraftC/MinecraftC/GUI/BlockSelectScreen.c:1:
/usr/include/SDL2/SDL_config_unix.h:260:9: warning: ‘SDL_VIDEO_OPENGL_EGL’ redefined
260 | #define SDL_VIDEO_OPENGL_EGL 1
| ^~~~~~~~~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
In file included from /home/user/git/MinecraftC/MinecraftC/GUI/../Minecraft.h:11,
from /home/user/git/MinecraftC/MinecraftC/GUI/BlockSelectScreen.c:4:
/home/user/git/MinecraftC/MinecraftC/GUI/../Sound/SoundManager.h:5:10: fatal error: cute_sound.h: No such file or directory
5 | #include <cute_sound.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/MinecraftC.dir/build.make:79: CMakeFiles/MinecraftC.dir/MinecraftC/GUI/BlockSelectScreen.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/MinecraftC.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
https://github.com/johnpayne-dev/cute_headers/tree/07165d746a2ff068a2410ce64c34b226492ccd96
yeah so what now
https://github.com/RandyGaul/cute_headers/commits/07165d746a2ff068a2410ce64c34b226492ccd96 I think it is merged in the upstream cute headers. idk whats the original repo, but if it's that one
just change https://github.com/johnpayne-dev/cute_headers in .gitmodules to https://github.com/RandyGaul/cute_headers.git and do a git submodule update --init --recursive