Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad SDL path #20

Open
ghost opened this issue Dec 17, 2016 · 2 comments
Open

Bad SDL path #20

ghost opened this issue Dec 17, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 17, 2016

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'

@undeference
Copy link
Member

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)

@wtfbbqhax
Copy link

@TheLaughingCow This issue should be reported against upstream ioquake/ioq3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants