[Ardour-Users] Compilation problem on fedora 24
Yann Collette
ycollette.nospam at free.fr
Fri Jul 8 10:13:09 PDT 2016
Hello,
I meet some compilation problems with the current master.
On fedora 24, the version of lv2 is 1.10.0.
To be able to compile the current master, I needed to changes some files
from the lv2 plugins.
Here are the diffs:
# git diff
diff --git a/libs/plugins/a-comp.lv2/a-comp.c
b/libs/plugins/a-comp.lv2/a-comp.c
index ba970c3..4b5d475 100644
--- a/libs/plugins/a-comp.lv2/a-comp.c
+++ b/libs/plugins/a-comp.lv2/a-comp.c
@@ -124,8 +124,9 @@ instantiate(const LV2_Descriptor* descriptor,
acomp->srate = rate;
acomp->old_yl=acomp->old_y1=acomp->old_yg=0.f;
+#ifdef LV2_EXTENDED
acomp->need_expose = true;
-
+#endif
return (LV2_Handle)acomp;
}
@@ -648,10 +649,12 @@ render_inline (LV2_Handle instance, uint32_t w,
uint32_t max_h)
static const void*
extension_data(const char* uri)
{
+#ifdef LVE_EXTENDED
static const LV2_Inline_Display_Interface display = {
render_inline };
if (!strcmp(uri, LV2_INLINEDISPLAY__interface)) {
return &display;
}
+#endif
return NULL;
}
diff --git a/libs/plugins/a-eq.lv2/a-eq.c b/libs/plugins/a-eq.lv2/a-eq.c
index 816ea46..cef1632 100644
--- a/libs/plugins/a-eq.lv2/a-eq.c
+++ b/libs/plugins/a-eq.lv2/a-eq.c
@@ -143,7 +143,9 @@ instantiate(const LV2_Descriptor* descriptor,
linear_svf_reset(&aeq->v_filter[i]);
aeq->need_expose = true;
+#ifdef LV2_EXTENDED
aeq->display = NULL;
+#endif
return (LV2_Handle)aeq;
}
Best regards,
YC
More information about the Ardour-Users
mailing list