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

Makefile does not find existing SDL.h. #8

Open
dreirund opened this issue Apr 12, 2023 · 2 comments
Open

Makefile does not find existing SDL.h. #8

dreirund opened this issue Apr 12, 2023 · 2 comments

Comments

@dreirund
Copy link

When I run make, it complains that it cannot find SDL.h:

In file included from ui_state.h:4,
                 from tool_core.h:7,
                 from actions.cpp:1:
gui.h:5:10: fatal error: SDL.h: No such file or directory
    5 | #include "SDL.h"
      |          ^~~~~~~
compilation terminated.

But I have in my system:

/usr/include/SDL/SDL.h
/usr/include/SDL2/SDL.h

Seems that you need to add some code that finds where the stuff is installed.

Regards!

@dreirund
Copy link
Author

dreirund commented Apr 12, 2023

Here I attach a patch that changes the SDL include by prepending SDL/: fix-sdl-include-path.patch.txt.

@lukasmach
Copy link
Owner

Thank you @dreirund, patch applied.

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