HISE Logo Forum
    • Categories
    • Register
    • Login

    Exported plugin fails to load (Windows ARM)

    Scheduled Pinned Locked Moved General Questions
    53 Posts 3 Posters 272 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.
    • bendursoB
      bendurso
      last edited by

      Plugins exported with Hise don't work on Windows ARM, as far as I know. Only on x64. Or am I wrong?

      P 1 Reply Last reply Reply Quote 0
      • P
        paper_lung @bendurso
        last edited by

        @bendurso they used to - I have a few plugins from last year which worked no problem

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

          @paper_lung said in Exported plugin fails to load (Windows ARM):

          All I'm doing is removing the /arch:AVX flag in the Projucer extra compiler flags

          So you remove that. Then you click save and open in IDE? Is that right?

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          P 1 Reply Last reply Reply Quote 0
          • P
            paper_lung @d.healey
            last edited by paper_lung

            @d-healey yeah, then build solution as normal

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

              @paper_lung Ok so we can rule out AVX being the issue, and you've disabled IPP so that's not the problem either.

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

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

                @paper_lung Have you tried an empty test project?

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                P 1 Reply Last reply Reply Quote 0
                • P
                  paper_lung @d.healey
                  last edited by

                  @d-healey No, I'll give that a try tomorrow

                  1 Reply Last reply Reply Quote 1
                  • P
                    paper_lung
                    last edited by paper_lung

                    @d-healey I've tried compiling an empty test project but it's just exporting a 'shared code' folder, any idea why that would happen?

                    P d.healeyD 2 Replies Last reply Reply Quote 0
                    • P
                      paper_lung @paper_lung
                      last edited by

                      I also thought I'd throw one of my broken VST3 files into chatgpt to see if it can detect anything. Here's what it says (obviously to be taken with a pinch of salt):

                      Architecture: x64 (Machine = 0x8664) ✔️
                      VST3 entry: The binary contains GetPluginFactory ✔️
                      Runtime linkage: No MSVC CRT DLLs are imported → looks statically linked (/MT) ✔️
                      Side libs: No IPP/OpenMP/FFTW/etc. DLLs imported ✔️
                      AVX/VEX footprint: The code section shows a high density of VEX prefixes (0xC4/0xC5), which strongly indicates AVX/AVX2 instructions are present. ❌

                      I've disabled AVX via the Projucer like I've mentioned, and seeing as Hise commits previous to the AVX implementation compile working VST3's, I wonder if something is amiss with AVX?

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

                        @paper_lung said in Exported plugin fails to load (Windows ARM):

                        @d-healey I've tried compiling an empty test project but it's just exporting a 'shared code' folder, any idea why that would happen?

                        Did you save the xml? Did you set the plugin name/code and all the other usual project settings?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          paper_lung @d.healey
                          last edited by

                          @d-healey yes to all of those

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

                            @paper_lung Can you send me the project and I'll try compiling it on my Windows VM, then you can test if it loads on your ARM system?

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              paper_lung @d.healey
                              last edited by paper_lung

                              @d-healey Sure, thanks - here you go:
                              https://drive.google.com/file/d/1Nt0bmdkOrACbGAjoOLA8xDJ4RtPXmNBe/view?usp=sharing

                              Just tried exporting again and it compiled, it still fails on ARM though

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

                                @paper_lung I've created standalone and VSTi with and without AVX.

                                https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/test_export.zip

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  paper_lung @d.healey
                                  last edited by

                                  @d-healey Thanks - with AVX fails, without AVX loads correctly.

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

                                    @paper_lung said in Exported plugin fails to load (Windows ARM):

                                    without AVX loads correctly.

                                    So the question is what did you do different to me when you disabled AVX?

                                    Time to make that video I asked for :)

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      paper_lung @d.healey
                                      last edited by

                                      @d-healey Here you go, hopefully I've not missed anything haha. https://drive.google.com/file/d/1_5Vi0pO6ta6hNzu3Su4CESh2IJ4MHTnQ/view

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

                                        @paper_lung You need to do that for your project, not for HISE.

                                        Free HISE Bootcamp Full Course for beginners.
                                        YouTube Channel - Public HISE tutorials
                                        My Patreon - HISE tutorials

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          paper_lung @d.healey
                                          last edited by paper_lung

                                          @d-healey there aren't any AVX flags in the hise project settings?

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

                                            @paper_lung You have to open the autogenerated juicer file in Projucer.

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            32

                                            Online

                                            2.0k

                                            Users

                                            12.8k

                                            Topics

                                            110.7k

                                            Posts