Default Value of a Slider doesn't change and the Slider Value always jumps to zero
-
@d-healey I got this error:
error: Your local changes to the following files would be overwritten by checkout:
projects/standalone/JuceLibraryCode/JuceHeader.h
Please commit your changes or stash them before you switch branches.
Aborting -
@Myroslav-Artiukh It's not an error, it's just telling you that your changes will be overwritten because you haven't commited them. If you want to keep them you can use git stash, otherwise just run git reset --hard before switching branch
-
@d-healey It worked. Should I build HISE again?
-
-
@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.