HISE Logo Forum
    • Categories
    • Register
    • Login

    "HISE path not set" error in Win batch compile script

    Scheduled Pinned Locked Moved General Questions
    37 Posts 3 Posters 1.7k 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.
    • gorangroovesG
      gorangrooves @d.healey
      last edited by

      @d-healey I don't know. You tell me, it is your script 😂

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

      d.healeyD 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @gorangrooves
        last edited by

        @gorangrooves lol I just checked, apparently that's what we need for exporting standalone, so all good there.

        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 @gorangrooves
          last edited by

          @gorangrooves So you get nothing output in Binaries\Compiled\App?

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

          gorangroovesG 1 Reply Last reply Reply Quote 0
          • gorangroovesG
            gorangrooves @d.healey
            last edited by

            @d-healey Correct. Nothing gets output there.

            Goran Rista
            https://gorangrooves.com

            Handy Drums and Handy Grooves
            https://library.gorangrooves.com

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

              @gorangrooves What happens if you comment out the VST3 compile, does it build the standalone then?

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

              gorangroovesG 1 Reply Last reply Reply Quote 0
              • gorangroovesG
                gorangrooves @d.healey
                last edited by

                @d-healey It doesn't compile.

                HISE source is C:\HISE-develop
                HISE path is C:\HISE-develop\projects\standalone\Builds\VisualStudio2022\x64\Release\App\HISE.exe
                HISE SDK path set to C:\HISE-develop
                ERROR: `"I:\AUDIO TEMPORARY\HISE PROJECTS\Handy Drums- Flamenco Percussion"` is not a valid path
                Exporting "Handy Drums- Flamenco Percussion" Standalone
                
                ==============================================================================
                EXPORT ERROR: Preset file not found
                ==============================================================================
                
                Re-saving file: I:\AUDIO TEMPORARY\HISE PROJECTS\Handy Drums- Flamenco Percussion\Binaries\AutogeneratedProject.jucer
                Finished saving: Visual Studio 2022
                Finished saving: Xcode (macOS)
                Finished saving: Xcode (iOS)
                Finished saving: Linux Makefile
                Compiling 64bit Instrument plugin Handy Drums- Flamenco Percussion ...
                MSBuild version 17.8.3+195e7f5a3 for .NET Framework
                
                  Handy Drums- Flamenco Percussion_SharedCode.vcxproj -> I:\AUDIO TEMPORARY\HISE PROJECTS\Handy Drums- Flamenco Percuss
                  ion\Binaries\Compiled\Shared Code\Handy Drums- Flamenco Percussion.lib
                  Handy Drums- Flamenco Percussion_VST3.vcxproj -> I:\AUDIO TEMPORARY\HISE PROJECTS\Handy Drums- Flamenco Percussion\Bi
                  naries\Compiled\VST3\Handy Drums- Flamenco Percussion.vst3
                Press any key to continue . . .
                

                Goran Rista
                https://gorangrooves.com

                Handy Drums and Handy Grooves
                https://library.gorangrooves.com

                gorangroovesG 1 Reply Last reply Reply Quote 0
                • gorangroovesG
                  gorangrooves @gorangrooves
                  last edited by

                  @gorangrooves Perhaps it is using outdated AutogeneratedProject and batchCompile, as it didn't rebuild those.
                  I have to specify the path without "" to build those resources, then enclose the path in "" to compile the instrument.
                  Let me re-run both of those.

                  Goran Rista
                  https://gorangrooves.com

                  Handy Drums and Handy Grooves
                  https://library.gorangrooves.com

                  gorangroovesG 1 Reply Last reply Reply Quote 0
                  • gorangroovesG
                    gorangrooves @gorangrooves
                    last edited by

                    @d-healey Removing the code to generate the vst3, managed to compile the standalone app.

                    Unfortunately, this process is worse than manual 😂

                    @Christoph-Hart Am I correct to conclude that compiling using CI mode does not handle any spaces in the path folder names and perhaps in the project name?

                    I'll have to rename my folders to exclude spaces to see if that does the trick.

                    Goran Rista
                    https://gorangrooves.com

                    Handy Drums and Handy Grooves
                    https://library.gorangrooves.com

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

                      @gorangrooves said in "HISE path not set" error in Win batch compile script:

                      Am I correct to conclude that compiling using CI mode does not handle any spaces in the path folder names and perhaps in the project name?

                      The commandline won't work with spaces unless they are quoted or escaped.

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

                      Christoph HartC 1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        Christoph Hart @d.healey
                        last edited by

                        Yeah I‘m also always messing up the paths with whitespaces in my scripts. The good news is that once you‘ve got the script working it‘s a breeze until you come back to it a few months later and something broke :)

                        gorangroovesG 1 Reply Last reply Reply Quote 1
                        • gorangroovesG
                          gorangrooves @Christoph Hart
                          last edited by

                          @Christoph-Hart I hope that I can get away with just making the folder paths without white space.
                          Changing project XML will require me to change the main container in the project, which will require me to change all references to it. Compiled plugins would also be affected, as will all my installer projects.

                          @d-healey As I demonstrated above, quotes won't work, as part of the script works with them, then the other part works without them. It is impossible to run the script completely with or without the quotes if there are white spaces in the folder path. (I hope it is only the folder path white spaces....)

                          Goran Rista
                          https://gorangrooves.com

                          Handy Drums and Handy Grooves
                          https://library.gorangrooves.com

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

                            @gorangrooves said in "HISE path not set" error in Win batch compile script:

                            hope that I can get away with just making the folder paths without white space.

                            Did you try escaping the spaces?

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

                            gorangroovesG 2 Replies Last reply Reply Quote 0
                            • gorangroovesG
                              gorangrooves @d.healey
                              last edited by

                              @d-healey let me try

                              Goran Rista
                              https://gorangrooves.com

                              Handy Drums and Handy Grooves
                              https://library.gorangrooves.com

                              1 Reply Last reply Reply Quote 0
                              • gorangroovesG
                                gorangrooves @d.healey
                                last edited by

                                @d-healey No, that doesn't work either. The CMD uses ^ to escape, but is not being read by anything else, so that didn't work.
                                What can of worms did I open?...

                                Goran Rista
                                https://gorangrooves.com

                                Handy Drums and Handy Grooves
                                https://library.gorangrooves.com

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

                                  @gorangrooves Can you send me the project?

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

                                  gorangroovesG 1 Reply Last reply Reply Quote 0
                                  • gorangroovesG
                                    gorangrooves @d.healey
                                    last edited by

                                    @d-healey Yes. I'll pack it up and dm you.

                                    Goran Rista
                                    https://gorangrooves.com

                                    Handy Drums and Handy Grooves
                                    https://library.gorangrooves.com

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

                                      @gorangrooves Ok, I'll take a look tomorrow

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

                                      gorangroovesG 1 Reply Last reply Reply Quote 0
                                      • gorangroovesG
                                        gorangrooves @d.healey
                                        last edited by

                                        @d-healey Alright. Removing white spaces from the folder paths fixed the issues. I left the project name unchanged. The app compiled with only the app compiling directive in the script. I will re-introduce the VST3 portion of the script and see if it all works as it should.

                                        Goran Rista
                                        https://gorangrooves.com

                                        Handy Drums and Handy Grooves
                                        https://library.gorangrooves.com

                                        gorangroovesG 1 Reply Last reply Reply Quote 0
                                        • gorangroovesG
                                          gorangrooves @gorangrooves
                                          last edited by

                                          @d-healey YES! That worked. Now to add regular vst and AAX.

                                          Goran Rista
                                          https://gorangrooves.com

                                          Handy Drums and Handy Grooves
                                          https://library.gorangrooves.com

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

                                            @gorangrooves Excellent, no need for me to do anything then :)

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

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

                                            23

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts