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

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

                                Try upgrading to the latest xcode and see if that changes anything

                                Yeah Xcode versions can often break things so this is a good idea.

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

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

                                  @Morphoice cool I'll see if that works thank you sir!

                                  1 Reply Last reply Reply Quote 0
                                  • MorphoiceM
                                    Morphoice @d.healey
                                    last edited by

                                    @d-healey Apple does a lot to keep us busy. ;-/
                                    I miss the time where you didn't touch a running system, let alone had one

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

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

                                      @Morphoice
                                      97b4032d-72b3-4eec-9f2d-90c732eaacf0-image.png

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

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

                                        @d-healey ๐Ÿ˜‚๐Ÿ˜‚

                                        1 Reply Last reply Reply Quote 0
                                        • MorphoiceM
                                          Morphoice @d.healey
                                          last edited by Morphoice

                                          @d-healey we all know the sad reason. Steve Jobs would have had heads rolling if crap crashed under his watch

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

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

                                          16

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          102.5k

                                          Posts