Skip to content

Minimal Build Environment

Cedric LACZNY edited this page Sep 4, 2014 · 1 revision

Setting up the minimal build environment

This process is expected to take about 1 hour, depending on the available hardware. Only minor assistance is needed.

Setting up the virtual machine

The current minimal build environment is based on an Ubuntu 14.04 LTS 64bit installation in a VirtualBox VM. Simply download VirtualBox and Ubuntu 14.04 LTS 64bit. Then create a VM with at least 20GB of disk space (just to make sure) and 4GB (if possible 8GB) of memory, and run the installation of Ubuntu.

N.B. Maybe get yourself some more cores in the VM than the default of one core (Right-click on your VM -> "Settings" -> "System" -> "Processor").

P.S. We recommend running

sudo apt-get update

after the succesful installation of ubuntu to make sure all the ubuntu repositories etc. are up-to-date.

Setting up the ubuntu installation

Open a terminal window and make sure that you are in $HOME. Run

git clone https://github.com/claczny/VizBin.git

to create your local copy of the repository in your $HOME.

In VizBin/, we provide a setup script, setupUbuntu.sh, that installs the requirements. It uses apt-get as well as downloads and installs required packages (MXE and OSXCross ). Please specify a link where to get the Mac OS X SDK in VizBin/setupUbuntu.sh as we do not provide this by default. We usually put this as a .tar.gzipped tarball on Dropbox and specify the respective link in VizBin/setupUbuntu.sh.

Calling the setup script will download and install the requirements. Hence, assuming you are in $HOME, simply run

bash VizBin/setupUbuntu.sh.

This will require root privileges which should not be a problem since we are working in a VM.

VizBin/setupUbuntu.sh will install virtualbox-guest-x11 additions. This will allow to use the full display resolution also for the VM.