Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • anywave
  • Documentation
  • Wiki
  • Build_AnyWave

Last edited by Bruno Colombet Jun 06, 2024
Page history

Build_AnyWave

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 ..
Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • MATLAB_API
  • MATLAB_BIDS
  • MATLAB_debug
  • MATLAB_functions
  • MATLAB_get_data
  • MATLAB_get_data_ex
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
  • MATLAB_run
View All Pages