Open ghost opened 7 years ago
Isn't that the point of these lines in the Makefile?
SDL_CFLAGS ?= $(shell pkg-config --silence-errors --cflags sdl2|sed 's/-Dmain=SDL_main//')
SDL_LIBS ?= $(shell pkg-config --silence-errors --libs sdl2)
SDL_CFLAGS ?= $(shell sdl2-config --cflags)
SDL_LIBS ?= $(shell sdl2-config --libs)
@TheLaughingCow This issue should be reported against upstream ioquake/ioq3
In the files (for example, sys_loadlib.h) when including sdl header files, the file the code includes is 'SDL.h'
Infact, most computers install SDL under /usr/include/SDL/SDL.H, which makes the code invalid Therefore, the include path should be 'SDL/SDL.H' and not 'SDL.h'