Skip to content

Building

Mike Magruder edited this page Aug 25, 2017 · 5 revisions

Overall

Get version numbers for dependencies from the main readme at https://github.com/mikemag/MonkeyCAM.

OS X

These are from memory, it's been a while since I've setup from scratch :)

Setup:

  • Install Xcode.
  • Install the Xcode command line tools.
  • Install Mac Ports.
  • Using ports, grab cmake and boost.

Building:

  • cmake .
  • make

Make an install package:

  • make package
    • This, however, requires a bunch of setup with certs with which to sign the binary. I'm not gonna go thru that here from memory. Next time my certs expire I'll write it all down here.

Ubuntu 16.04 LTS

Setup:

  • sudo apt-get install git cmake libboost-all-dev
  • git clone https://github.com/mikemag/MonkeyCAM.git

Building:

  • cmake .
  • make

Make an install package:

  • make package

Windows

We build on Windows using MinGW and GCC. I've tried recently to use VS 2015, but there are a bunch of compiler differences, and even runtime failure despite getting it to compile.

Setup:

  • Basic Windows 10 installation.
  • Get MinGW and select the following on the install UI under "Basic Setup":
    • mingw32-base
    • mingw32-gcc-g++
    • msys-base
    • After install, add the MinGW bin dir to your path.
  • Grab cmake, install, add the cmake bin dir to your path.
  • Install git
    • Github Desktop seems fine for this, you still get a command shell out of it too.
  • git clone https://github.com/mikemag/MonkeyCAM.git
  • Install Boost, ideally next to the MonkeyCAM directory.

Building:

  • cmake -G "MinGW Makefiles" .
  • mingw32-make

Make an install package:

  • mingw32-make package