Skip to content

BuildingOpenNeroWindows

Igor Karpov edited this page Apr 26, 2015 · 1 revision

Note: If you manage to compile OpenNERO for Windows, please let us know so we can share it with other users.

Note: Feel free to share your experience with building OpenNERO in the comments section.

Windows

Prerequisites

  • OpenNERO source code
  • cmake
  • [http://www.microsoft.com/visualstudio/ Microsoft Visual Studio
  • build and install Boost
    • Use the option --build-type=complete with the `.\b2 command.
    • Use the option -jN with .\b2, where N is the number of cores your computer has.
    • Do not use Boost 1.54 if you are building with Visual Studio 2013 Preview - use 1.53 instead.
  • Latest Python 2.7.x with source
  • wxPython
  • Install a Java Runtime Environment (JRE)
  • Add python.exe to the Path variable (Control Panel -> System -> Environment Variables)

Steps to build

  1. Open CMake, specify the source directory (opennero checkout directory) and build directory (another directory). Choose 'Suppress dev Warnings -WnoDev' from the Options menu. Click the Configure button twice, then click the Generate button.
  2. Open the OpenNERO.sln solution file and build OpenNERO using Visual Studio.
  3. To run from within Visual Studio, set OpenNERO as startup project. Also set the working directory of OpenNERO for debugging to $(TargetDir) (right mouse click on OpenNERO, select properties, debugging).
Clone this wiki locally