open-dis / open-dis-cpp

C++ implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v6 and v7
BSD 2-Clause "Simplified" License
92 stars 66 forks source link

Linux build instructions fail #28

Closed JoeHCQ1 closed 5 years ago

JoeHCQ1 commented 5 years ago

DESCRIBE THE BUG

Linux build instructions fail.

STEPS TO REPRODUCE

Steps to reproduce the behaviour:

  1. Clone the repo.
  2. Put premake5 in a folder included in $PATH environment variable.
  3. Run premake5 gmake in repo root directory.
  4. Run make config=release and observe error.

EXPECTED BEHAVIOUR

Make command succeeds.

ACTUAL BEHAVIOUR

Make fails fatally due to undocumented dependency in example code.

SCREENSHOTS

image

ENVIRONMENT

leif81 commented 5 years ago

@joe-sonrichard you're right the SDL dependency should be documented in the readme. Until that's done take a look a the travis config for how we setup the build environment.

https://github.com/open-dis/open-dis-cpp/blob/master/.travis.yml