tavasti wrote:
Tried commenting in modules/juce_gui_extra/juce_gui_extra.h that #define JUCE_WEB_BROWSER 1
Linking SFZero - VST
build/SFZero.a(include_juce_events_fd7d695.o): In function `juce::JUCEApplicationBase::main(int, char const**)':
include_juce_events.cpp:(.text.startup+0x11d): undefined reference to `juce::juce_gtkWebkitMain(int, char const**)'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'build/SFZero.so' failed
So leaving that WEB_BROWSER code out it not an option, needs code change to SFZero or Juce?
Needs a few more changes
juce_gui_extra.h in
/JUCE/modules/juce_gui_extra/
#define JUCE_WEB_BROWSER 1
needs to be commented out so that it looks like this
#ifndef JUCE_WEB_BROWSER
// #define JUCE_WEB_BROWSER 1
#endif
-------------
juce_ApplicationBase.cpp in
/JUCE/modules/juce_events/messages/
#if JUCE_LINUX && JUCE_MODULE_AVAILABLE_juce_gui_extra && (! defined(JUCE_WEB_BROWSER) || JUCE_WEB_BROWSER)
needs to be changed to
#if JUCE_LINUX && JUCE_MODULE_AVAILABLE_juce_gui_extra && JUCE_WEB_BROWSER
there are 2 occurrences of it that need to be changed in the juce_ApplicationBase.cpp file.
-------
Also remove any occurrences of webkit2gtk-4.0 in the Makefile if they exist.