I installed lmms and it seems like the ladspa plugins are not working
properly.

I nailed it down to the init function not being called when the shared
library is loaded

plugins/LadspaEffect/caps/interface.cc

__attribute__ ((constructor))
void caps_so_init()
{
...
}

I think it's caused by the "-nostartfiles" in the CMakeLists.txt
which according to the document below should not be used when compiling
shared libraries:
http://tldp.org/HOWTO/Program-Library-HOWTO/miscellaneous.html
http://stackoverflow.com/questions/4760567/how-to-run-constructor-even-if-nostdlib-option-is-defined


Ps: lmms-1.1.3+ (from git), gcc-5.2.0, qt4.7, Slackware-13.37
------------------------------------------------------------------------------
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to