You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-2Lines changed: 67 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,13 @@ Initially generated with [xmlpg](https://github.com/open-dis/xmlpg).
7
7
8
8
## Building Open DIS
9
9
10
-
*[premake5](http://premake.github.io/) is required to build the platform specific projects. Download it and make sure it's available on your path, or specify the path to it.
10
+
*[CMake](http://cmake.org/) is required to build the platform specific projects.
11
+
It can be downloaded and installed from http://cmake.org/
11
12
12
-
* SDL2 and SDL2_net are required libraries to compile the examples. See the [.travis.yml](.travis.yml) for more details on setting up a build environment.
13
+
* SDL2 and SDL2_net are required libraries to compile the examples.
14
+
These can usually be install via linux package managers.
15
+
More details, and instructions for Windows are included [below](#SDL2-and-SDL2_net-Install-Instructions).
16
+
**NOTE:** Windows users will need to either add the DLL folders to their path, or copy the DLLs to the output directory (`Debug`).
13
17
14
18
### Linux / GNU Makefiles
15
19
@@ -28,6 +32,9 @@ Initially generated with [xmlpg](https://github.com/open-dis/xmlpg).
28
32
29
33
30
34
### Old Pre-make build instructions
35
+
36
+
*[premake5](http://premake.github.io/) is required to build the platform specific projects. Download it and make sure it's available on your path, or specify the path to it.
37
+
31
38
#### Linux / GNU Makefiles
32
39
1. Run `premake5 gmake`
33
40
1. Run `make config=release`
@@ -40,3 +47,61 @@ Initially generated with [xmlpg](https://github.com/open-dis/xmlpg).
40
47
## Developer Docs
41
48
42
49
The latest doxygen docs for the Open DIS master branch can be found [here](https://codedocs.xyz/open-dis/open-dis-cpp/).
If you're unable to install the correct packages, try [installing from source](#POSIX-Source-Installation)
62
+
63
+
### Windows Instructions
64
+
65
+
These are the installation steps that have been tested with open-dis-cpp, however there are other methods for installation.
66
+
Experienced users should feel free to customise their install.
67
+
68
+
#### (Core) SDL2 Instructions
69
+
70
+
1. Navigate to the SDL2 [Download](https://www.libsdl.org/download-2.0.php) page, and download the latest Development Libraries.
71
+
72
+
Alternatively, the version tested with open-dis-cpp, 2.0.12-VC, can be downloaded from this [direct link](https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip).
73
+
74
+
2. Extract the SDL2-devel-2.0.12-VC.zip file directly to your `C:\`.
75
+
3. Rename the resulting `SDL2-2.0.12` folder to `SDL2`.
76
+
4. Add `C:\SDL2\lib\x64` to your System Path for 64-bit systems,
77
+
or add `C:\SDL2\lib\x86` for 32-bit systems.
78
+
79
+
#### SDL2_net Instructions
80
+
81
+
1. Navigate to the SDL2_net [project](https://www.libsdl.org/projects/SDL_net/) page, and download the latest Development Libraries.
82
+
83
+
Alternatively, the version tested with open-dis-cpp, 2.0.1-VC, can be downloaded from this [direct link](https://www.libsdl.org/projects/SDL_net/release/SDL2_net-devel-2.0.1-VC.zip).
84
+
85
+
2. Extract the SDL2-devel-2.0.12-VC.zip
86
+
3. Copy the `include` and `lib` directories from the resulting folder into you `C:\SDL2\` folder
0 commit comments