Closed vchernin closed 1 year ago
Whoops, seems to be a problem of LSP DSP library (double macro call).
This patch should fix the problem:
https://github.com/lsp-plugins/lsp-dsp-lib/commit/d9d18aa6113686e950133feab03fe956cd890fc6
Updated the code and add test for C header compatibility:
https://github.com/lsp-plugins/lsp-dsp-lib/commit/2c10f16fb1db9841a9e68c7dd1acaec823aeba48
Thanks, I can confirm in 1.0.16 the issue is fixed.
lsp_dsp_xyz
is becominglsp_dsp_lsp_dsp_xyz
. I see this happening in the zrythm flatpak build I believe since lsp 1.0.12, but I can bisect if needed. 1.0.11 works as expected.The relevant includes (which lead to more files) are these: https://github.com/zrythm/zrythm/blob/7f55342fb80a6d9a9ec0e25dc6cd8348bf787889/src/gui/widgets/arranger_draw.c#L4-L7
To reproduce you can build the zrythm flatpak after modifying these lines to a newer version, and then the zrythm build later on will fail (lsp builds fine): https://github.com/flathub/org.zrythm.Zrythm/blob/7e074ab925420920617fdfe591c755ba20b88448/org.zrythm.Zrythm.json#L389-L390
However I would not recommend it as it is a very slow build (at least initially) due to various other dependencies. Most likely this is reproducible in a non flatpak environment anyhow.