Requirements:
- OS: Windows, macOS or Linux
- Compiler and Toolchain:
- Windows:
- Visual Studio 2017 Community
- .NET Framework 4.5 Toolchain
- macOS/Linux:
- Mono (≥ 5.0)
- Windows:
- Node.js (≥ 5.0)
- NuGet CLI (≥ 4.3.0)
- OpenAL (OpenAL-Soft): Unzip the ZIP file, rename
soft_oal.dll
inWin32
toopenal32.dll
, and place it in the directory of MilliSim executable.
Remember to update your Mono version and update your NuGet version before building. Otherwise you are very likely to see errors like "Too many projects specified".
Step 1: Clone this repo:
git clone https://github.com/hozuki/MilliSim.git
Step 2: Prepare dependencies:
First, install MonoGame (version 3.6 or later).
Then, on Windows:
cd MilliSim
init
On macOS and Linux:
cd MilliSim
./init.sh
Step 3: Build the solution:
msbuild MilliSim.sln /p:Configuration=Release
If you are using non-Windows machines, you should manually specify the concurrent process count, or there will be strange compile errors:
msbuild MilliSim.sln /p:Configuration=Release /m:1
Although the builds by Travis seem unable to bootstrap on Windows, manual builds on an Ubuntu 16.04 machine are verified to function normally.