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 867 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.
    • 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
                                        • d.healeyD
                                          d.healey @DW
                                          last edited by

                                          @DW Create a new blank project on your desktop. Add a knob or something to the UI, then compile it as a standalone app. Let me know if it works.

                                          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 haven’t had issues with compiling as a standalone app or plugin, the issue arrises only when compiling the DSP network to DLL

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

                                            21

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts