Default Value of a Slider doesn't change and the Slider Value always jumps to zero
-
I've been doing some digging because I'm trying to build HISE on Debian testing and running into these same issues.
So the webkit issue appears to be solved in the master branch of JUCE and will need to be added to HISE - https://forum.hise.audio/topic/9988/hise-juce-8-license-question/6?_=1720085332729
The workaround for now is to open the make file and replace all instances of webkit2gtk-4.0 with webkit2gtk-4.1 - you'll need to do this after every time you resave the Projucer project.
For the missing ft2build.h in pkg-conf, that may have been solved in the latest JUCE, I'm not sure, but basically JUCE is not looking in the correct location so we need to add the header path in Projucer:
/usr/include/freetype2
Same goes for the missing gtk.h file:
/usr/include/gtk-3.0/gtk
I'm also getting a weird font issue that I haven't found a solution for yet
Update: Just tried on a Debian 12 (stable) system and everything builds without hassle but the font issue is there also, I'll try and track this one down.
Update 2: The font issue is caused by (unsurprisingly) a missing font. I copied the .fonts folder from my regular system over to this new one and the issue goes away. Now to figure out which font is the culprit - probably Lato or Oxygen depending on your projucer settings.
Update 3: On my test systems the font that's required is called SourceCodePro (no idea where this came from but as long as it's in my .fonts folder everything looks good).
-
Ok here's something significant, you must compile with gcc/g++ 11 or earlier. See if that fixes your slider issue.
I was having some glitches with look and feel. As soon as I switched to the earlier compiler those problems went away. I hope this is fixed in future JUCE versions...
And install
mold
linker for much faster linking. -
I ran into this again on a new system so decided to improve life a tiny bit as best I can until we get some of the changes from JUCE 8.
So to build HISE on a newer Debian based distro.
- Use my fork if you can.
- If not then add
/usr/include/freetype2
and/usr/include/gtk-3.0/gtk
to the extra header paths in Projucer
- If not then add
- Install the SourceCodePro font in ~/.fonts
- Install
mold
linker and alias it togold
- Install gcc-11 and g++-11 and set them as the default (instructions here)
- Install libwebkit2gtk-4.1-dev
- Add a symlink for libwebkit2gtk-dev-4.0 that points to libwebkit2gtk-dev-4.1:
- Locate the pkconfig file (.pc). On my system it's in /usr/lib/x86_64-linux-gnu/pkgconfig/ You can find it by running
find /usr -name "webkit2gtk-4.1.pc"
- cd to the folder that contains the file
- Run
sudo ln -s webkit2gtk-4.1.pc webkit2gtk-4.0.pc
to create the symlink.
- Locate the pkconfig file (.pc). On my system it's in /usr/lib/x86_64-linux-gnu/pkgconfig/ You can find it by running
- Use my fork if you can.
-