Skip to content

Building from Source

Marian Stramm edited this page Oct 27, 2015 · 2 revisions

Adapted from the instructions on the forum.

Prerequisites

  • git
  • cmake
  • working compiler (mingw, mingw64, visual studio 20xx)
    • if you want to target windows xp with VS2012, you have to update it to the latest

Quick instructions

Visual Studio

  • Get the sources
  • Run cmake-gui
    • Select source dir (ends with \BlackboxZero)
    • Select build dir (should not be the same as source dir)
    • Configure
    • Build
  • Open the Solution
  • Build
  • Build project install

Full instructions

1. Get the sources from github

git clone https://github.com/xzero450/bbclean-xzero450.git

There are two branches right now (as of january 2014):

  • master: contains 1.17.1 as commited by Jonathan "xzero450".
  • devel: contains development version of 1.17.2 that was branched from master in november 2013

Switch to devel branch:

  git checkout devel

then init submodules:

  git submodule init
  git submodule sync
  git submodule update --recursive

Note: for a good git guid check out Wine's Wiki

2. cmake

Run cmake-gui (by default it's in C:\Program Files (x86)\CMake\bin\cmake-gui.exe)

  1. Select bb's source directory (ends in \BlackboxZero)
  2. Select the build directory (where the build-specific files will be)
Clone this wiki locally