Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.21 KB

README-ELK.md

File metadata and controls

43 lines (31 loc) · 1.21 KB

Airwindows

Modified for headless plugin build for Elk Audio OS

Building Instructions

  1. Set up the cross-compilation toolchain with:

    $ unset LD_LIBRARY_PATH
    $ source /path/to/environment-setup-cortexa7t2hf-neon-vfpv4-elk-linux-gnueabi
  2. (optional) Add flags for more aggressive optimizations than the default ones from the toolchain with:

    # for raspberry pi 3
    $ export CXXFLAGS="-O3 -pipe -ffast-math -feliminate-unused-debug-types -funroll-loops -mvectorize-with-neon-quad"
    # for raspberry pi 4
    $ export CXXFLAGS="-O3 -pipe -ffast-math -feliminate-unused-debug-types -funroll-loops"
  3. Add the vstsdk as described in plugins/LinuxVST/README.md

  4. Set up the makefile:

    $ cd plugins/LinuxVST
    $ rm -rf build
    $ mkdir build && cd build
    $ cmake .. && ccmake ..

    set the flag COMPILE_FOR_ELK_PI to ON.

  5. Finally cross compile the plugins using:

    $ make

Additional notes

  • Make sure that you update the submodules before trying to build.
  • For further compilation help. Look at our documentation.