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

compiling on linux: sdl2 #98

Merged
merged 5 commits into from
Jul 7, 2023
Merged

Conversation

pattakosn
Copy link
Contributor

In order to compile with sdl2 on linux i changed the path to the include header files from sdl/sdl.h' to simply sdl.h`

the path used for sdl does not follow the usual path naming convention.
this causes problems when compiling on linux using sdl installed with
package managers as they follow the upstream path location.

I update build scripts and use only .h names so as to work around this,
eg include SDL.h instead of include sdl/SDL.h
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIndow.h is an engine header so it can remain as "Window.h"

@PanosK92
Copy link
Owner

PanosK92 commented Jul 7, 2023

thank you!

@PanosK92 PanosK92 merged commit 19dfaf5 into PanosK92:master Jul 7, 2023
2 checks passed
@pattakosn pattakosn deleted the sdl2-fix-win-tested branch July 31, 2023 14:26
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

Successfully merging this pull request may close these issues.

2 participants