Compile from Source

=Linux=

Requirement
For example on Ubuntu 14.04 LTS or above: Note for Ubuntu 16.04: Due to a bug in CGAL the package libcgal-qt5-dev may be required.
 * Install all necessary packages and libraries: git, qt4, tinyxml, hdf5 and boost.

Optional: Additional packages for hyp2mat:

For example on Ubuntu 14.04 or above:

Optional: Install octave and octave devel packages:

Optional: Install ParaView so that gridded model can be viewed:

Build and Install
This instructions assume that you will install openEMS to ~/opt/openEMS


 * Get the openEMS source code, extract, build and install:


 * Alternatively include hyp2mat and the circuit toolbox:


 * Alternatively disable AppCSXCAD build (e.g. for a server-system):

Setup Matlab/Octave
Add the openEMS path to matlab (store the commands in "startup.m" or ".octaverc" in your home directory to load them on startup in matlab or octave respectively): If you installed hyp2mat and circuit toolbox, add the paths for these optional packages as well:

Build from Github

 * If you want to get the latest development version of openEMS:

=Mac OS-X= Experimental support using brew: brew file