We have developed a new algorithm as a new mha plug-in. We are able to compile the source code in C++ in a windows machine and run it in windows without an issue. I'd like to be able to compile it to run on PHL.
Are there compilers and necessary software (e.g., "make", "libsndfile1 -dev", etc.) already installed with the standard software release of PHL, so that we can just copy our source code and compile it. If so, where should we place the file.
Alternatively, if we need to compile the plug-in on a separate linux system, we will still need some help on which files would need to be copied over to PHL and where.
If my question is not clear, please let me know, I will try to clarify more.
Compiling new self-developed plug-ins for PHL
-
- Posts: 33
- Joined: Fri May 10, 2019 7:58 am
Re: Compiling new self-developed plug-ins for PHL
We have started to prepare the PHL for compilation of plugins on the device, but the manual is not yet finished and the software may not be complete, yet. At least the required dev packages are available on the latest Mahalia image available under http://mahalia.openmha.org/
We will work on this in the future, but you may want to try yourself, see how far you get and report here.
In the meanwhile it might be the easiest way to set up a Raspberry Pi, compile the plugin there and scp it to the PHL into the /usr/lib/ directory.
We will work on this in the future, but you may want to try yourself, see how far you get and report here.
In the meanwhile it might be the easiest way to set up a Raspberry Pi, compile the plugin there and scp it to the PHL into the /usr/lib/ directory.
Re: Compiling new self-developed plug-ins for PHL
Appreciate the answer. This is really helpful. It would be super convenient if we can just compile source codes right on the PHL. For now, we will do what you've suggested by setting up a Raspberry Pi and compiling our codes on it. I will report back if we run into any issues!