This guide describes how to build on Ubuntu.
You should be able to easily adapt the procedure on Fedora/Centos based distros by finding the matching packages.
install base tools
sudo apt-get install -y git cmake build-essential libtbb-dev
install qt5 packages
sudo apt-get install -y qt5-default qtbase5-dev libqt5multimediawidgets5 qtmultimedia5-dev
sudo apt-get install -y libqt5opengl5-dev libqt5printsupport5 libqt5x11extras5-dev libqt5svg5-dev qtdeclarative5-dev
third party software
sudo apt-get install -y libmatio-dev libvtk7-qt-dev libqwt-qt5-dev libqcustomplot-dev
BLAS
AnyWave can use the Intel MKL libraries if installed. If you don't want to use MKL, OpenBLAS is an alternative.
sudo apt-get install -y libopenblas-dev libfftw3-dev
Build from sources
git clone https://gitlab-dynamap.timone.univ-amu.fr/anywave/anywave.git
cd anywave
git checkout latest
mkdir -p build
cd build
If using MKL:
source /opt/intel/mkl/bin/mklvars.sh intel64
export MKL_ROOT=/opt/intel/mkl
Install by default to /usr/local. This can be changed.
cmake .. -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/local
make
sudo make install
Run the application
On Ubuntu you should be able to find AnyWave using the launchpad.
AnyWave can also be launched in a terminal:
anywave
MATLAB support
If you want to use MATLAB scripted plugins or build your own MATLAB plugins, you will need to build the MATLAB Support library and all the required mex files.
The matlab support build is a specific CMake project located in matlab subfolder. Once you cloned the AnyWave repository, go in matlab subfolder and premare cmake using the following commands:
git clone https://gitlab-dynamap.timone.univ-amu.fr/anywave/anywave.git
cd anywave
cd matlab
mkdir -p build
cd buid
cmake ..