From 7ac0a398134668f7802c56726d735eaca99739c2 Mon Sep 17 00:00:00 2001 From: Jeff Smith Date: Thu, 29 Nov 2018 01:57:10 -0600 Subject: [PATCH 1/2] Symbol spawn_miniedit_text needs to be defined --- src/common/gui/PopupEditorDialog.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/common/gui/PopupEditorDialog.cpp b/src/common/gui/PopupEditorDialog.cpp index cee6589914a..1904cd316b5 100644 --- a/src/common/gui/PopupEditorDialog.cpp +++ b/src/common/gui/PopupEditorDialog.cpp @@ -139,4 +139,14 @@ void spawn_miniedit_text(char* c, int maxchars) strncpy(c, me.textdata, maxchars); } } -#endif \ No newline at end of file +#elif __linux__ + +#include + +void spawn_miniedit_text(char* c, int maxchars) +{ + // FIXME: Implement text edit popup on Linux. + fprintf(stderr, "%s: text edit popup is not implemented.\n", __func__); +} + +#endif From 40b4fc5632382693ee3c7772699f9698a96235e1 Mon Sep 17 00:00:00 2001 From: Jeff Smith Date: Thu, 29 Nov 2018 01:58:11 -0600 Subject: [PATCH 2/2] Linux VST2 plugin needs soHandle defined This was previously fixed in 776c2e205d419b6f7ed28c616ba6c222ac3bb5ab, but was reverted in 04b1f1a7e6ff4ffb49ddb2434438fcfe4215fdb3. --- src/vst2/Vst2PluginInstance.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vst2/Vst2PluginInstance.cpp b/src/vst2/Vst2PluginInstance.cpp index 78ef450ce76..de3b3946e73 100644 --- a/src/vst2/Vst2PluginInstance.cpp +++ b/src/vst2/Vst2PluginInstance.cpp @@ -25,6 +25,10 @@ using namespace std; +#if __linux__ +namespace VSTGUI { void* soHandle = nullptr; } +#endif + //------------------------------------------------------------------------------------------------------- AudioEffect* createEffectInstance(audioMasterCallback audioMaster)