HISE Logo Forum
    • Categories
    • Register
    • Login

    Hise crashes when compiling Script FX as DLL.

    Scheduled Pinned Locked Moved Unsolved General Questions
    42 Posts 5 Posters 1.5k 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.
    • Matt_SFM
      Matt_SF
      last edited by

      If you don't mind sharing a snippet I can take a look at it in the morning.
      (send me a dm if it's classified material 😆)

      Develop branch
      Win10 & VS17 / Ventura & Xcode 14. 3

      DWD 1 Reply Last reply Reply Quote 0
      • DWD
        DW @Matt_SF
        last edited by

        @Matt_SF here's an example

        HiseSnippet 999.3ocuV80aaaCDmxIzo1scXEne.7it.AA1ascCXOrFaGuYzYGgprr9VACEcMgoHEHoRh6vdeer5Go9MX8nnrkzhQRi2ejALzw6Nd+3c+tiJTqnLiQoQAsNaUJCE7HbzJocwvEDtDMYDJ3qvSIFKS2wuzfUoDigEiBB16mbKDzZeT9ym9wADAQRYkKgPmq3T1uvS31xUCe0q4BwXRL6LdREqe9qlPUxgJgJCvyd3dnTBcI48rYDmYMvnflmDysJcjkXYFvlAp3UQKTWI81eN2vuPvbB8QQvF4WFMbAWDGt9rZPnf8CKO464O4OEOkGy2rdYF3qyUzozip4ffF2Fj5eOfTPEHsuGROAGQ07TaoFGddHdhDJHyIPptJT71hB9HdnBLPZOJgrjMVCBabn6K606vNveO6GlmIoVtR1QImorrSkceV6eucq1+Q6N+cUymuUctvnUBASuU0tpq91brqLK4Bl9vNWRDYrMFBG+54zleY4Tp+TWwPkbhjaOMkUHOVIhc4J262rBfJRava+5jQDKwUTJVCrKkosbGbBFwtDX09RTK7HlYoUkB75aT+.liJNSPr0oSt9lBEP9nVMzUnjFtcU09p6AGq2sxw9Rg3SvgbKcw1wXisfQHS8eAFK5LeL9j4yYTaI.2GO9s6ZaXu6caX6h1PHltf+nBwNiea+s1.9m3RxdplkRzryTgBxptFRRpf8F.iG14BghtLh+A1M6PR8PXfyhtzEDojIL6RiTy+kFNgdiJyxkueJwp4WiBvyxRhfwzT1vBzAqEzv0C4k64jc7hHlLNW3ufmBk8cxAEJ6uVYk1uYL6UJ8x7xQw6nfCb49GiGYRKVpO5XgPc0PURJufl5OULsIW3.buifedyBUhUoKTRN0Up7NsF8Gmnxf.WbD9Yh4LBW3n5QYFX3Q7oxHv37q1bTsYpX3sliITH2tJjXW3ZYbie.9ISeDcCOsNbK4J4rPnNDRzvcavrYiG5tcd8Ef97G.zDWRI+5u8b58YkbHfcw3AXM6Rl9BTM77P77qOpPQ83dGwnQELANrQB5Flxkm6HXfetLKZJ45Mx8AYGZf4g.GGnJnJl9Bnq9dtOGf+MdLbP9msKMwtFLzwYVUBzBrdzeko4U1Se2ekHTYGtqfUSY9sFRVdSpAUSD4YOShqT21DR2pEwqFDymI4jfItM7SflXN2okRDqCMPcGnTKSH48M61MX+ezkmPnZ06n9AWtC2CxWApLx7OyqE78lfbm9nK8Grx6XRfOC6cTZ8s5FN9M6pie6t53y2UGewt53K2UG+tc0wu+tcz8UxEcZNlNBMM7jbRXPvIRBbOS9kjnOSdk3lv
        

        but it crashes no matter what is in the script fx even if its blank.

        MorphoiceM 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @DW
          last edited by Morphoice

          @DW given it crashes on any attempt to compile a network, I suggest there's either something wrong with your version of HISE or your project. The snippet compiles fine on my side. If it crashes for you on a new project and not just your finished plugin, then it's most probably the mac HISE version you are using.

          I had a hard time setting up compilation when I started using HISE, but eventually it worked. Make sure you build yourself versions of HISE from the exact same repository for PC and MAC so they match perfectly.

          I remember Christoph making some changes for the latest mac versions a couple of weeks ago, if you're on Sonoma or Sequoia that might even be it. Make sure you're on the latest version of HISE from the develop branch on Github

          Also (and this is an untested but often agreed upon theory) changing parameter or node names at a later stage of development can sometimes lead to problems. Also avoid spaces in scriptnode or parameter names at all costs especially when you are using faust. It messes up the XML

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          DWD 1 Reply Last reply Reply Quote 0
          • DWD
            DW @Morphoice
            last edited by

            @Morphoice yeah I think so too, although I think Ive tried everything.. creating new projects, rebuilding hise 4.0 / 4.1. And none seem to fix the issue, but everything else compiles and works fine.

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • MorphoiceM
              Morphoice @DW
              last edited by

              does it happen right from the start or only after you succesfully compiled on PC and then try it on MAC?

              @DW sometimes also the "Clean Build Directory" option helps, although I never really figured out what it does. Make sure you save your already compiled PC vst3 to a seperate folder before ;)

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

              DWD 2 Replies Last reply Reply Quote 0
              • DWD
                DW @Morphoice
                last edited by

                @Morphoice thank you good sir I will give this a go

                1 Reply Last reply Reply Quote 0
                • DWD
                  DW @Morphoice
                  last edited by

                  @Morphoice also it seems to happen from the start even with a clean build

                  Matt_SFM 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @DW
                    last edited by

                    @DW It compiles just fine here on Mac & PC (I don't even have the same build on both!).
                    So my guess, as Morphoice said, is that the issue comes from your build.

                    (In David's voice) How many copies/versions of the source code do you have on your system?

                    And which branch are you using ? (Release / develop)

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    DWD 1 Reply Last reply Reply Quote 0
                    • DWD
                      DW @Matt_SF
                      last edited by

                      @Matt_SF happens on the newest version 4.1, completely uninstalled and tried version 4.0 and it crashes with that as well.

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

                        @DW said in Hise crashes when compiling Script FX as DLL.:

                        completely uninstalled

                        Have you compiled HISE?

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

                        DWD 1 Reply Last reply Reply Quote 0
                        • DWD
                          DW @d.healey
                          last edited by

                          @d-healey yes, I was sure this would solve but it still crashes

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

                            @DW As Matt asked, How many copies of the HISE source code are on your system?

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

                            DWD 2 Replies Last reply Reply Quote 0
                            • DWD
                              DW @d.healey
                              last edited by

                              @d-healey there is only one copy of the source code

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

                                @DW And that matches the source code from which you built the one and only version of the HISE executable you have?

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

                                DWD 1 Reply Last reply Reply Quote 0
                                • DWD
                                  DW @d.healey
                                  last edited by

                                  @d-healey what’s also strange is I tried to compile a DLL of a minimal test on my friends Mac and it happened to him as well. I’m thinking it may be a permissions or a issue running a script somewhere maybe. but I checked the permissions in all the obvious places

                                  1 Reply Last reply Reply Quote 0
                                  • DWD
                                    DW @d.healey
                                    last edited by

                                    @d-healey yes that is correct

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

                                      @DW Where on your system is the HISE source code folder?

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

                                      DWD 1 Reply Last reply Reply Quote 0
                                      • DWD
                                        DW @d.healey
                                        last edited by

                                        @d-healey currently it’s on my desktop

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

                                          @DW And is your project folder on the desktop too?

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

                                          DWD 1 Reply Last reply Reply Quote 0
                                          • DWD
                                            DW @d.healey
                                            last edited by

                                            @d-healey no my project folder is in my documents

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.5k

                                            Posts