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.
    • LindonL
      Lindon @d.healey
      last edited by Lindon

      @d-healey agreed more testing would be good - but I think this area need s a re-evaluation - its a bunch of confusing double negative flags (probably my fault as much as any one):

      I suggest we dump these two flags:

      HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
      HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0

      to be replaced by:

      HISE_SAMPLE_DIALOG_INSTALL_ONLY

      (you get ONLY the install button and text)

      and

      HISE_SAMPLE_DIALOG_LOCATE_ONLY

      (you get ONLY the locate button and text)

      • if as a developer you put both in then - firstly : silly you and secondly you get what you get

      if you put in neither you get both buttons.

      This leads to this logic in FrontendBar.cpp

      	case DeactiveOverlay::SamplesNotInstalled:
      
      #if HISE_SAMPLE_DIALOG_INSTALL_ONLY
              return "Please click below to install the samples from the downloaded archive.";
      		break;
      #elif HISE_SAMPLE_DIALOG_LOCATE_ONLY
      		return "Please click below to point to the location where you've already installed the samples.";
      		break;
      #else
      		return "Please click below to install the samples from the downloaded archive or point to the location where you've already installed the samples.";
      		break;
      
      #endif
           
      

      ..and similar for the button displays

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon

        but I think this area need s a re-evaluation - its a bunch of confusing double negative flags (probably my fault as much as any one):

        True, but it's still working for me and not for you, I don't think changing the flags would fix that.

        Do you have multiple copies of the source code on your machine?

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey I have old copies on a separate external drive...

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon I don't think that's the problem then... I'm out of idea until we get some more testers

            @ustk @hisefilo ?

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

            hisefiloH 1 Reply Last reply Reply Quote 0
            • hisefiloH
              hisefilo @d.healey
              last edited by

              @d-healey I can test it on Macos, what should I do?

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

                @hisefilo Thanks.

                • Build my develop branch - https://github.com/davidhealey/HISE/tree/develop
                • Run HISE (the one you just made from my branch)
                • Make a new project folder
                • Add a script and sampler
                • Open up project preferences and add these lines in the Extra Definitions OSX box
                HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
                HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
                
                • Make sure the project is pointing to my develop branch's source code
                • Export as a standalone app
                • Run the app and let us know if it prompts you to install or locate the samples (or both).

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

                hisefiloH 3 Replies Last reply Reply Quote 1
                • hisefiloH
                  hisefilo @d.healey
                  last edited by

                  @d-healey all of my clang boys working on it

                  Screen Shot 2020-04-30 at 12.27.00.png

                  1 Reply Last reply Reply Quote 1
                  • hisefiloH
                    hisefilo @d.healey
                    last edited by

                    @d-healey got this. Pointed the right Hise-develop folder also

                    Compiling Standalone application Tester ...
                    xcodebuild: error: 'Builds/MacOSX/Tester.xcodeproj' does not exist.
                    Compiling finished. Cleaning up...
                    logout
                    Saving session...
                    ...copying shared history...
                    ...saving history...truncating history files...
                    ...completed.
                    
                    [Process completed]
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey
                      last edited by

                      Can you usually export standalone projects ok?

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

                      hisefiloH 1 Reply Last reply Reply Quote 0
                      • hisefiloH
                        hisefilo @d.healey
                        last edited by

                        @d-healey for some reason is not creating OSX folder on Binaries

                        Screen Shot 2020-04-30 at 13.31.47.png

                        1 Reply Last reply Reply Quote 0
                        • hisefiloH
                          hisefilo @d.healey
                          last edited by

                          @d-healey said in Installing Samples Dialog....:

                          Can you usually export standalone projects ok?

                          of course

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

                            Did you save the project before trying to export?

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

                            hisefiloH 2 Replies Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @d.healey
                              last edited by

                              @d-healey yep

                              1 Reply Last reply Reply Quote 0
                              • hisefiloH
                                hisefilo @d.healey
                                last edited by

                                @d-healey Screen Shot 2020-04-30 at 13.34.45.png

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

                                  Does it export if you point it to your usual source code?

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

                                  hisefiloH 1 Reply Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @d.healey
                                    last edited by

                                    @d-healey yes

                                    Filos-MacBook-Pro:~ filo$ /Users/filo/Filo/VST\ Project/TEster/Binaries/batchCompileOSX ; exit;
                                    Re-saving file: /Users/filo/Filo/VST Project/TEster/Binaries/AutogeneratedProject.jucer
                                    Finished saving: Visual Studio 2017 - Builds/VisualStudio2017/
                                    Finished saving: Xcode (MacOSX)
                                    Finished saving: Linux Makefile
                                    Compiling Standalone application Tester ...
                                    ▸ Building Tester/Tester - App [Release]
                                    ▸ Check Dependencies
                                    ▸ Compiling PresetData.cpp
                                    ▸ Compiling CopyProtection.cpp
                                    ▸ Compiling include_hi_components.cpp
                                    
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey
                                      last edited by

                                      Weird, you found a new issue :p Let us know if the app asks about installing/locating samples :)

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

                                      hisefiloH 2 Replies Last reply Reply Quote 0
                                      • hisefiloH
                                        hisefilo @d.healey
                                        last edited by hisefilo

                                        @d-healey i.e. I cannot compile if a source code is in Download or trash folder. I guess it's a permission issue. But just a guess

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

                                          @d-healey

                                          Screen Shot 2020-04-30 at 13.48.39.png

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

                                            @hisefilo

                                            I cannot compile if a source code is in Download or trash folder. I guess it's a permission issue. But just a guess

                                            That could be it. I remember I had a similar issue with trying to compile on my shared drive, I had to put it on the MacOS desktop.

                                            So that screen shot is what should show with Christoph's original code. Can you try again with my code but move it to another location to try to avoid the issue you had before? You can do a debug build to make it faster.

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

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

                                            24

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts