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

                        @DW In that case add the new blank project to the desktop. Create a network with a single node. Save it. Try to compile the DLL.

                        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 okay I added the new blank project to the desktop and created a network with a single node, saved it and hit compile network as DLL and boom it crashes hise.

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

                            @DW Now let's try compiling the networks from the commandline. Open a terminal window, drag the HISE executable onto it. Then write -p: and drag your project folder in. Then write compile_networks -c:Debug. Then hit enter.

                            So the full command will look something like: '/media/dave/Desktop/HISE/projects/standalone/Builds/LinuxMakefileFaust/build/HISE Standalone' -p:'/home/dave/Desktop/MyProject' compile_networks -c:Debug

                            I haven't tested this so it's possible I have made a mistake in the commands, but try it and let me know.

                            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 okay gave that a go, I'm getting this error

                              2025-01-07 07:48:38.793 HISE[2564:56901] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
                              zsh: bus error
                              
                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @DW
                                last edited by

                                @DW That's a warning rather than an error so I wouldn't be concerned about it.

                                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 true, but what about the line under that says

                                  zsh: bus error /Users/administrator/Desktop/HISE/projects/standalone/Builds/...
                                  
                                  MorphoiceM 1 Reply Last reply Reply Quote 0
                                  • MorphoiceM
                                    Morphoice @DW
                                    last edited by

                                    @DW which version of XCode do you have installed?

                                    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 I have version 15.4 installed currently

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

                                        @DW can you upgrade to the latest? I think 16.2 is current. What OS are you on anyways?

                                        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 I can try that for sure, I'm on Sonoma 14.7.2

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

                                            @DW yep that should be fine. Xcode 16.2 requires Sonoma 14.5 or later
                                            Try upgrading to the latest xcode and see if that changes anything

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

                                            d.healeyD DWD 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts