Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 846 Bytes

INSTRUCTIONS.md

File metadata and controls

30 lines (23 loc) · 846 Bytes

Software requirements:

  • Windows
  • CMake (version >= 3.17.0)
  • Visual Studio 2019 (VS 16)
    • In Visual Studio Installer, make sure you select the workload: "Desktop development with C++"
  • If you get a .dll error, install Visual C++ Runtime 2019

Compiling and running the code:

First create a project:

  • create build directory
  • cd build
  • Create the project in either 32-bit or 64-bit mode:
    • 32-bit: cmake -A Win32 -G "Visual Studio 16" ..
    • 64-bit: cmake -A x64 -G "Visual Studio 16" ..

Then either build and run mc2 from the command line:

  • cd build
  • cmake --build . --config Release
  • double-click bin/mc2.exe

Or open the project in Visual Studio:

  • double-click build/mc2.sln

Other tips

To switch from 32-bit to 64-bit or vice-versa:

  • git clean -fdx
  • recreate project with above instructions