mcferno / d20-rpg

A cross-platform C++ game based on the D20 System, using SDL
MIT License
14 stars 8 forks source link

SDL headers path on Linux #1

Open RStarik opened 8 years ago

RStarik commented 8 years ago

Hello. I have some problems when trying to compile source code on Linux. In files

the path to SDL headers is relative. It may be fixed like so:

#if defined(__linux) || defined(__linux__) || defined(__gnu_linux__)
#include <SDL/path_to_header>

#elif defined(__APPLE__) || defined(__MACH__) || defined(__MINGW32__) || defined(__MINGW64__)
#include "SDL_header"

#endif

And there is also one small typo in Game.cpp when including startScreen.h

alessandro-aglietti commented 8 years ago

Hi @RStarik did you get the project work? I've son issues.

Thank you,

RStarik commented 8 years ago

@alessandro-aglietti yes. You have a problem?