hyperrogue icon indicating copy to clipboard operation
hyperrogue copied to clipboard

mingw-w64 compiling is broken again

Open Danfun64 opened this issue 5 years ago • 1 comments

It's been a while since I played hyperrogue, and I wanted to compile it again. Unfortunately, I get this result:

$ make -f Makefile.simple g++ -O0 -DWINDOWS -mwindows -D_A_VOLID=8 -std=c++11 -march=native -W -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -DCAP_GLEW=1 -DCAP_PNG=0 langen.cpp -o langen.exe ./langen > language-data.cpp g++ -O2 -DWINDOWS -mwindows -D_A_VOLID=8 -std=c++11 -march=native -W -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -DCAP_GLEW=1 -DCAP_PNG=0 -c hyper.cpp -o hyper.o In file included from sysconfig.h:327, from hyper.h:19, from hyper.cpp:23: C:/msys64/mingw64/include/SDL/SDL_gfxPrimitives.h:38:10: fatal error: SDL.h: No such file or directory 38 | #include <SDL.h> | ^~~~~~~ compilation terminated. make: *** [Makefile.simple:150: hyper.o] Error 1

I'm thought for sure that I had installed everything needed to compile.

Danfun64 avatar Jan 26 '20 00:01 Danfun64

SDL_gfxPrimitives.h includes SDL.h but it cannot find it. It seems that the option -I /msys64/mingw64/include/SDL/ is missing.

zenorogue avatar Mar 08 '20 11:03 zenorogue