HISE Logo Forum
    • Categories
    • Register
    • Login

    Installing Samples Dialog....

    Scheduled Pinned Locked Moved Feature Requests
    130 Posts 13 Posters 11.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.
    • T
      tomekslesicki
      last edited by tomekslesicki

      Ok, I've added the "installSampleButton->setVisible(false);" under line 50 in the hi_components > plugin_components > FrontendBar.cpp and built Hise from source again, but the button is still there. What am I not getting?

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

        @tomekslesicki Is your project pointing to the correct HISE source code?

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

        T 1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki @d.healey
          last edited by

          @d-healey Yeah, it is. I've just double checked, built Hise again, checked then, tried to export and the button is still there :-(

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:

            // If you want to hide the install button
            HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
            
            // If you want to bypass the entire thing and use a default location for the samples
            HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
            
            T 1 Reply Last reply Reply Quote 3
            • T
              tomekslesicki @Christoph Hart
              last edited by

              @Christoph-Hart said in Installing Samples Dialog....:

              I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:

              // If you want to hide the install button
              HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
              
              // If you want to bypass the entire thing and use a default location for the samples
              HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
              

              Tried that and still doesn't work :-(

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

                @tomekslesicki Did you rebuild HISE using the latest version from GitHub today?

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

                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart
                  last edited by

                  And you need to make sure that HISE uses this source code for compilation (in this case rebuilding HISE doesn‘t make a difference)

                  1 Reply Last reply Reply Quote 1
                  • T
                    tomekslesicki
                    last edited by

                    I've re-downloaded the Hise source code, re-compiled, added the code to the project, exported again and the button is still there. He's a tough one, that's for sure!

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

                      @tomekslesicki said in Installing Samples Dialog....:

                      added the code to the project

                      Could you clarify what you mean? Just so I understand the situation better.

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

                      1 Reply Last reply Reply Quote 0
                      • T
                        tomekslesicki
                        last edited by

                        @tomekslesicki said in Installing Samples Dialog....:

                        HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0

                        Sure! I meant I've added the "HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0" line to Extra Definitions:

                        2019-10-06 18_48_04-HISE Backend Standalone.jpg

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

                          @tomekslesicki Have you pointed the project to the correct version of the HISE source code?

                          030fc761-a271-4f30-adb8-616c8d97bad1-image.png

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

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tomekslesicki @d.healey
                            last edited by

                            @d-healey Yup, the one I've built from - downloaded from github, as you've suggested.

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

                              Well I'm out of ideas... I haven't tested it myself yet.

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

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tomekslesicki @d.healey
                                last edited by

                                @d-healey Did you get the "installSampleButton->setVisible(false);" thing to work, though? It doesn't work here either, unfortunately, but maybe you've succeeded with that?

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

                                  @tomekslesicki I haven't tried it yet. Next time I compile a plugin I'll test it.

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

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tomekslesicki
                                    last edited by

                                    Ok, thanks! @dustbro , could you please share how you did it?

                                    orangeO Dan KorneffD 2 Replies Last reply Reply Quote 0
                                    • orangeO
                                      orange @tomekslesicki
                                      last edited by

                                      @tomekslesicki Do you use Windows or Mac?

                                      develop Branch / XCode 13.1
                                      macOS Monterey / M1 Max

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tomekslesicki
                                        last edited by

                                        I'm on Windows 10

                                        orangeO 1 Reply Last reply Reply Quote 0
                                        • orangeO
                                          orange @tomekslesicki
                                          last edited by

                                          @tomekslesicki Ok, that issue can be about caches. Sometimes Windows stuck on old versions. You might need to clear the cache before compiling new Hise versions.

                                          • Open "C:\Users\YourUserName\AppData\Roaming" folder and delete Projucer and Hise folders.

                                          • Re-download the new Hise version, don't rebuild on the old one.

                                          • Also rename your "Hise-scriptnode" folder with a small modification, for example "Hise-scriptnode_"

                                          • Then re-build Hise again. Then rebuild your plugin. If the new flag works, it should work.

                                          develop Branch / XCode 13.1
                                          macOS Monterey / M1 Max

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

                                            I just tested and it works as expected on my system.

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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            12

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts