Server calls do not work in compiled Linux Plugin
-
@oskarsh
The callback function should not be an inline function.Actually an inline function seems to work just fine. -
@d-healey thank you so much for trying this out!!
Do you mind sharing your OS?
I am running
KDE neon 5.26 Ubuntu - 22.04
-
@oskarsh Debian testing, Cinnamon 5.6.5
-
@d-healey @Christoph-Hart
I did a clean install of Ubuntu 22.04 in a VM and installed latest HISE Develop Version. I ran the same snippet that I've posted here and compiled as a VST3 and a Standalone Version and I get the same behavior. No Network calls appear to work. Might it be the case that there is a missing Dependency for Networking? Network calls do work in HISE but do not work when compiled.Is anyone able to help me with that?
-
@oskarsh
You shouldn't need to install anything extra. It sounds like a firewall/networking issue to me.Try this that I compiled (ignore the name, that just the project I was working on when I loaded your snippet)
https://e1.pcloud.link/publink/show?code=XZ3FtmZys93k4yYQkJfNGBvFIeciHyU6AqV
-
@d-healey the plugin you've compiled works.
I have no Firewall enabled, I also got some customers complaining that the plugin has a network issue even tho they run all kinds of different Distros. I do not think that a firewall rule is compiled within the plugin itself.
I will install Debian testing with Linux mint, maybe Ubuntu is doing something out of the ordinary.
-
@Christoph-Hart @d-healey
I've finally found the culprit it was a JUCE setting.juce_core
>JUCE_USE_CURL
was set to disabled but only for the .jucer file created by HISE. So naturally every compiled plugin would have the network calls disabled.
Whats really odd is that I've installed a virtual machine with a complete blank setup and was also getting it set to disabled by default. -
@oskarsh Very odd, I use my own fork of HISE so it's possible that I set this to always be enabled there.
-
I just got caught out by this. @Christoph-Hart Is there a reason you don't enable JUCE_USE_CURL in the project/plugin template?
-
This post is deleted!