You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
activate the cross-compiler: . /opt/elk/1.0.0/environment-setup-cortexa72-elk-linux
clone and build the plugin
git clone https://github.com/michaelwillis/dragonfly-reverb.git
cd dragonfly-reverb/
git submodule update --init --recursive
make
Potential problem
It looks like the the v2-ttl-generator is built with the cross compiler for the target platform and can then not be executed on the host platform.
file dpf/utils/lv2_ttl_generator
/src/dpf/utils/lv2_ttl_generator: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=b467bc5a455b4b9a5ca47dadf95a27d60efdbba8, for GNU/Linux 3.14.0, stripped
I am not experienced in cross-compilation, therefore I wanted to ask what would be best practice to resolve this. Maybe this issue has to be solved on the plugin which is uses DPF (dragonfly-reverb)?
The text was updated successfully, but these errors were encountered:
you can use qemu-user-static package to run these binaries on any system, or setup binfmt-support to do it automatically.
both dpf makefile and cmake already have ways to specify this.
under make you can use make EXE_WRAPPER="qemu-aarch64-static -L /path/to/toolchain/sysroot" and cmake uses CMAKE_CROSSCOMPILING_EMULATOR
just set those accordingly if not wanting to deal with the binfmt stuff, which tends to need support from the outer layer of docker (ie, the host) so it is not always as easy to set up
note that whatever using elk or Pi, or ubuntu core or something else it does not matter.
the procedure is always the same, and it is known to work everywhere I have tested so far.
I am trying to cross-compile a plugin with DISTROH DPF
When the LV2 assets are built the following error happens"
Steps to reproduce
docker run --name elk-cross-compiler -it elk-audio-os-builder
. /opt/elk/1.0.0/environment-setup-cortexa72-elk-linux
Potential problem
It looks like the the v2-ttl-generator is built with the cross compiler for the target platform and can then not be executed on the host platform.
I am not experienced in cross-compilation, therefore I wanted to ask what would be best practice to resolve this. Maybe this issue has to be solved on the plugin which is uses DPF (dragonfly-reverb)?
The text was updated successfully, but these errors were encountered: