System requirements for TRN/LCM. Install the following for your OS:


======= Linux =======

For TRN
apt install build-essential
apt install libglib2.0-dev
apt install libnetcdf-dev
apt install libgctp-dev (create symlinks from /usr/lib/libgctp.so and libgctp.a to actual libs)

For LCM TRN

apt install cmake
Install LCM (download lcm-1.4.0; unzip ; mkdir build ; cmake ..)
Install libconfig (download lcm-1.4.0; unzip ; mkdir build ; cmake ..)


======= MacOS =======

For TRN

Install brew (xcode-select --install)
brew install glib
brew install netcdf
wget https://github.com/tdanckaert/GCTP/archive/github.zip
unzip github.zip
cd GCTP-github
brew install libtool
brew install automake
brew install autoconf
glibtoolize --force
aclocal --verbose
autoheader --verbose
automake --add-missing --force-missing --verbose
autoconf --verbose
./configure
make
sudo make install

For LCM TRN

brew install lcm
brew install libconfig


======= Cygwin (TBD) =======

For TRN

apt install build-essential
apt install libglib2.0-dev
apt install libnetcdf-dev
apt install libgctp-dev

For LCM TRN

apt install cmake
Install LCM (download lcm-1.4.0; unzip ; mkdir build ; cmake ..)
Install libconfig (download lcm-1.4.0; unzip ; mkdir build ; cmake ..)