NeuralPi icon indicating copy to clipboard operation
NeuralPi copied to clipboard

JUCE built-in submodule version doesn't allow headless build, Elk OS SDK does but it's a fork from a different version

Open MaxPayne86 opened this issue 3 years ago • 2 comments

Current JUCE module is https://github.com/lv2-porting-project/JUCE.git which is version 6.0.8 from a particular JUCE fork

Elk OS SDK which is currently signaled as the only headless build is using https://github.com/elk-audio/JUCE/commits/mind/headless_plugin_client_next which is a fork of 5.4.5 and is fixing headless builds for VST3 only. Search for JUCE_AUDIOPROCESSOR_NO_GUI=1. Afaik these patches have never been merged in JUCE repo.

Back on built-in JUCE, JUCE_AUDIOPROCESSOR_NO_GUI=1

is not producing any tangible effect and builds fails when including juce_gui_basics.h since

X11/Xlib.h: No such file or directory

the removal of this dependency is a key for embedding this plugin into already existing platforms like Mod Duo or any whatsoever headless platform

MaxPayne86 avatar Aug 19 '21 17:08 MaxPayne86

Sorry, I met this problems but I still dont understand what you mean. Could you point out directly to solve this problem.thx.

yudashuixiao1 avatar Sep 07 '21 15:09 yudashuixiao1

My apologies but being busy on other projects. I think that the problem is not related to this plugin but with JUCE library that is a plugin dependency. So in a beautiful world audio plugins should build successfully either with or without Xorg support (Linux), that's why we commonly refer to "headless" targets whenever we want to do so. So in a nutshell one day someone will fix JUCE lv2 branch to meet this requirement, you can close this issue thanks.

MaxPayne86 avatar Dec 27 '21 16:12 MaxPayne86