pierreguillot/Camomile

TTL errors when building EP-MK1

pave-unpaved opened this issue · 3 comments

TTL errors are reported when attempting to build the EP-MK1 plugin

The errors were found on Arch Linux 64 bit, fully up do date.
I use Ardour, but since there are errors in the build, no plugins are produced. All formats produce this error on master, and on dev/v1.0.8, compiled with both make CONFIG=Release and just make
All example plugins build with no errors.

Steps to reproduce:

  1. download the latest version of EP-MK1 from here
  2. git clone the latest version of camomile
  3. when running ./camomile -f [file path to ep-mk1], the following error is thrown, and all plugins produced are non-functional.
Camomile - Plugin Generator
./builds/EP-MK1.vst3
generating ttl EP-MK1 in ./builds/EP-MK1.lv2/EP-MK1.so
can't load method lv2_generate_ttl
error: ./builds/EP-MK1.lv2/EP-MK1.so: undefined symbol: lv2_generate_ttlmv: cannot stat '/home/USER/Camomile/Plugins/manifest.ttl': No such file or directory
mv: cannot stat '/home/USER/Camomile/Plugins/EP-MK1.ttl': No such file or directory
./builds/EP-MK1.lv2

At first sight, it seems that the problem is related to the plugin EP-MK1, and not Camomile. Perhaps you should create an issue on the corresponding repository and/or try to contact @MikeMorenoDSP?

I have just tested it. For me, to get rid of such error, I need to delete EP-MK1.so inside the path that you provided for -f option.

Since the $plugin_input_dir contains EP-MK1.so (which is an VST2 plugin), EP-MK1.so inside $plugin_output_dir would be overrided.

cp -f "$ThisPath/$CamomileLV2.$LinuxLV2Extension" "$plugin_output_dir/$plugin_name.lv2/$plugin_name.$LinuxLV2Extension"

cp -rf "$plugin_input_dir"/* "$plugin_output_dir/$plugin_name.lv2"