I just tried to compile a fairly simple GEN patch (just a very long stereo-delay), following the WIKI pages, and got the following errors:
Omni@OmnisM1 max-gen-deploy % ./mod-build.sh
Please type your plugin name, then press enter to confirm
LoongDelay
Submitting process…
Got release process 61379dad96c4f7c7718404d5.
Uploading buildroot package…Done
Checking md5 52a46a23820df01a55b8ee26d8e77aa7 …Done
Waiting build (this can take a few minutes)…
Error: Process 61379dad96c4f7c7718404d5 failed, contact MOD Team for more details
Here is the patch and the inside of the gen object:
It did not even start to compile with other names.
Funny thing is, I just found a delcore1 in the plugin list, which is my name for the gen object, before renaming.
Yeah I found out why now.
One step of the cloud builder is not being run, which renames the includes in order to build.
This is made for GNU sed, so not sure if it runs on macOS as-is. But you can try:
sed -r 's/(namespace )(.*)\{/\1gen_exported \{/g' -i gen_exported.*
sed -r 's/(#include )(.*)/\1"gen_exported.h"/g' -i gen_exported.*
(which are the steps the cloud should be running but is not)
we basically want to edit the files to convert custom names to well-known name for compilation, that name being gen_exported.
after modifying the files you should be able to get this to work.
we will fix the MOD cloud side too, but that can take a bit.
It worked, I got a LoongDelay.lv2-duo.tar.gz file back. I had to rename the files to gen_exported though, before it worked. Now I am stuck somewhere else, see here:
joker@JokersM1 MyLongDelay % ./mod-build.sh
Missing gen_exported.cpp/h files, please copy them to this folder
joker@JokersM1 MyLongDelay % ./mod-build.sh
Please type your plugin name, then press enter to confirm
LoongDelay
Submitting process...
Got release process 6138f54096c4f7c7718404e0.
Uploading buildroot package...Done
Checking md5 85ea9be40a04f46b613a44f23aef27f5 ...Done
Waiting build (this can take a few minutes)........................................
Error: Process 6138f54096c4f7c7718404e0 timed out, contact MOD Team for mode details
joker@JokersM1 MyLongDelay % ./mod-build.sh
Please type your plugin name, then press enter to confirm
LoongDelay
Submitting process...
Got release process 6138f7ba96c4f7c7718404e2.
Uploading buildroot package...Done
Checking md5 7fd3eb00d211c678741e55c88474bfe1 ...Done
Waiting build (this can take a few minutes)..............
Finished downloading LoongDelay.lv2-duo.tar.gz
joker@JokersM1 MyLongDelay % ./mod-deploy.sh
{"removed": [], "ok": true, "installed": ["urn:maxgen:LoongDelay"]}
joker@JokersM1 MyLongDelay %
joker@JokersM1 MyLongDelay % sord_validate $(find /path/to/LoongDelay.lv2-duo.tar.gz -name '*.ttl') $(find /path/to/bundle.lv2 -name '*.ttl')
find: /path/to/LoongDelay.lv2-duo.tar.gz: No such file or directory
find: /path/to/bundle.lv2: No such file or directory
zsh: command not found: sord_validate
joker@JokersM1 MyLongDelay %
Excuse my ignorance, it´s day three in lv2/Dwarf land…
If you get into issues not being able to run mod-sdk (which to be honest needs some maintenance work on our side) we have been internally using a special build which provides a few extra developer tools. Basically v1.10 + carla + mod-sdk + valgrind.
Will post a build here once it is finished.
@falkTX thanks for the headstart! I will look into it asap. Does it make sense to work from a Linux Ubuntu enviroment, insted of Mac OS? Seems like all the tools are ready and availiable there.
I could use my Raspi 3 for that.
for development, yes for sure.
while you can setup things while in macOS, there are always extra steps. but I cant recommend using as rasp-pi for development…
hi guys, just begining to start a patch up in max but don’t want to do much if the process for getting it onto dwarf is not stable. any thoughts on current state of max patch to running on the pedal. thanks
You won’t be able to run max/msp on linux though (I mean I got it mostly to work in wine on amd64, except for the package manager and the MOD plugin), definitely not on a pi.
I’d recommend using pure data, together with hvcc, that will run on your pi for sure. The only downside is you need a bit more command-line skills to get a plugin built. There is no web-service taking care of the build for you like with the MOD plugin for Max/MSP.