HISE Logo Forum
    • Categories
    • Register
    • Login

    Default Value of a Slider doesn't change and the Slider Value always jumps to zero

    Scheduled Pinned Locked Moved General Questions
    43 Posts 2 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by d.healey

      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

      51ec1f6c-7719-4ea5-b86e-012568bc2ff3-image.png

      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).

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by d.healey

        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.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          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
          • Install the SourceCodePro font in ~/.fonts
          • Install mold linker and alias it to gold
          • 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.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • LevitanusL Levitanus referenced this topic on
          • First post
            Last post

          21

          Online

          1.7k

          Users

          11.9k

          Topics

          103.3k

          Posts