Default Value of a Slider doesn't change and the Slider Value always jumps to zero
-
@d-healey The build just finished and the problem is still there. I got a lot of warnings when building, for example this:
../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object] 164 | delete[] reinterpret_cast<char*> (b); | ^ ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘getWithParameters.isra’: ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 }; |
Maybe I need to update the JUCE version as a lot of these warnings have to do with JUCE?
I also don't use the Intel IPP, maybe I need to turn it off somewhere in the settings?
-
@Myroslav-Artiukh You can ignore those warnings, you don't need to install JUCE everything you need is included with HISE.
Which version of Ubuntu are you using?
Does changing the default value to something other than 0 make a difference?
-
@d-healey I am using the newest version of Ubuntu (24.04 I think), Ubuntu Studio to be exact.
I can't change the default value to anything other than 0, which is why I thought that it might be the reason this is happening.
-
@Myroslav-Artiukh said in Default Value of a Slider doesn't change and the Slider Value always jumps to zero:
I can't change the default value to anything other than 0,
That's strange, you should just be able to enter a new value in the interface designer.
-
@d-healey Could you maybe send me your build of HISE for Ubuntu (if you are allowed to do that). Maybe I have done something wrong during the build and that's why it doesn't work.
-
@Myroslav-Artiukh I don't use Ubuntu - however I'm installing it now to test
-
@d-healey Thank you so much
-
@Myroslav-Artiukh I can't even get HISE to compile, I get errors about missing header files - did you run into these?
-
@d-healey I don't think so. What exactly is missing?
Some dependencies are hard to find and I had a few other issues, which were not hard to solve, but I don't remember any headers missing.
-
It's saying it can't find gtk.h or ft2build.h
Also
Package 'webkit2gtk-4.0', required by 'virtual:world', not found
Apparently webkit2gtk-4.0 isn't available on the latest version of Ubuntu.
-
@d-healey You can get webkit2gtk-4.0 installed by copying files from some websites, but go into the Projucer and uncheck the "Use Web Browser" box in the juce_ui_extra module (not sure if the names are 100% right, but it should be something similar).
webkit2gtk-4.0 is only needed for web applications.
-
@d-healey If it is required for HISE I can send the files over or find the website.
Here is the download link and all of the dependencies are listed below: https://archlinux.org/packages/extra/x86_64/webkit2gtk/
Turning off the setting would be much quicker so try that first.
If you need gtk, download gtk3 from apt.
-
@Myroslav-Artiukh Disabling the web browser option in projucer creates new errors in the terminal because it is required by perfetto (which I've also disabled but for some reason it still wants the web view)
-
How about you just send over the HISE binary you compiled and I can try it here?
-
-
@Myroslav-Artiukh Yep I get the same glitch as you with that build. I suspect it's something to do with the weird dependency issues.
-
@d-healey https://launchpad.net/~webkit-team/+archive/ubuntu/ppa found this website from your video, will try to download the library from there and check if it works. If it doesn't you can try sending me a binary compiled for a different Debian-based Linux distribution, like Linux Mint for example.
-
@Myroslav-Artiukh said in Default Value of a Slider doesn't change and the Slider Value always jumps to zero:
If it doesn't you can try sending me a binary compiled for a different Debian-based Linux distribution, like Linux Mint for example.
Here's my daily driver (compiled on Debian testing) https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/HISE Standalone.zip
This is built from my fork of HISE so might have some stuff in that is not in the upstream.
-
@d-healey Thank you a lot! That works.
-
@Myroslav-Artiukh Maybe it would be helpful for other people if that binary was on the HISE github, because the whole point of HISE is to make audio plugin development easy and the fact that you need to build it yourself doesn't work that well with that concept.
I undestand why the developers don't care that much about compiling binaries for Linux, but there are a lot of people who would give up really quickly with issues like this one and wouldn't even try creating audio plugins because of the bad experience.