HISE Logo Forum
    • Categories
    • Register
    • Login

    Can't compile a DLL from the Export menu without getting an error message??? Can anyone help

    Scheduled Pinned Locked Moved C++ Development
    71 Posts 4 Posters 4.3k 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.
    • HISEnbergH
      HISEnberg @GreekProgrammer
      last edited by

      @GreekProgrammer Sometimes I find I need to move some of RNBO's dependency files into HISE (not really sure why), but it usually solves my issues. It's not clear to me from what you have said, but you are able to build HISE successfully, but you are not able to import the RNBO file? There are other caveats to the RNBO import, like making sure the class and export name are the same, disabling polyphony, etc. https://docs.hise.audio/glossary/rnbo.html

      It might be worth running a tester, simplified RNBO patch first before importing your main project, as this might reveal some issues with your RNBO patch and/or its compatibility in HISE.

      G 1 Reply Last reply Reply Quote 1
      • G
        GreekProgrammer @HISEnberg
        last edited by

        @HISEnberg Thank you!
        I have indeed moved the main rnbo folder into the ThirdParty\src folder with the rnbo output cpp files too? I have successfully built HISE no problem and am able to import the RNBO C++ files directly into HISE (again no problem.) it all goes pear-shaped when I export the DLL and the error for the PATH arises?

        Funnily enough (as you rightly say!) I have also ensured the Class and RNBO export are all the same name with the necessary options disabled (as per the link you sent.

        I have followed the tutorial for the RNBO Chorus Pedal Extras and this imports into HISE no problem too...it's the PATH that is the issue?

        HERE IS THE ERROR WHEN I SELECT EXPORT>COMPILE DSP NETWORKS AS DLL...

        Thank you so much for your help with this though! :-)
        638d18d5-8f9e-4c7d-9035-86c207e08a43-image.png

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

          @GreekProgrammer said in Can't compile a DLL from the Export menu without getting an error message??? Can anyone help:

          I have selected RELEASE from the build menu

          Looks like you haven't extracted the ASIO SDK, and looks like you're trying to compile the plugin version of HISE instead of the standalone.

          Main YouTube Channel - is that you? A Yorkshire Man maybe like myself!

          That's me!

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

          G 1 Reply Last reply Reply Quote 1
          • G
            GreekProgrammer @d.healey
            last edited by

            @d-healey

            Hi, I extracted the SDK files into the folder too and followed the JUCE online tutorial for the non standalone version!

            I got so fed up with it all so I’ve deleted it!

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

              @GreekProgrammer said in Can't compile a DLL from the Export menu without getting an error message??? Can anyone help:

              JUCE online tutorial

              What tutorial is this?

              You need to compile the standalone version of HISE. You can't move forward with exporting your project until you've done this.

              Delete all copies of the HISE source code on your system
              Download the develop branch of the HISE source from github
              Extract the sdk.zip file into the tools/SDK folder so it looks like the image below
              Open the Projucer application included with the HISE source code >> tools/projucer
              From within Projucer load the HISE standalone project >> projects/standalone/HISE Standalone.jucer
              Still in Projucer select File >> Save and open in IDE - this will launch Visual Studio
              Go to the build menu and select Build solution

              56074655-4a35-4950-a3fa-8a314c5b6432-image.png

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

              G 2 Replies Last reply Reply Quote 1
              • G
                GreekProgrammer @d.healey
                last edited by

                @d-healey

                Hi! Thank you so much and so sorry to have been a pest on the forum.

                I’ll get a rest and return to this tomorrow!
                Take care

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

                  @GreekProgrammer said in Can't compile a DLL from the Export menu without getting an error message??? Can anyone help:

                  sorry to have been a pest on the forum.

                  You're not, the system is complicated and not good at guiding new users. Your posts highlight this issue and leads us to find solutions.

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

                  G 1 Reply Last reply Reply Quote 1
                  • G
                    GreekProgrammer @d.healey
                    last edited by

                    @d-healey Hi!

                    I am on the case...
                    01c12edf-9522-4467-9cce-a9bd2b21d7c1-image.png

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

                      @d-healey

                      394d8c7a-25aa-40e6-8573-aeec02ca8ded-image.png

                      Here goes!

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        GreekProgrammer @GreekProgrammer
                        last edited by

                        @GreekProgrammer

                        fcaa6320-e996-4c91-919d-43c843a8a3f9-image.png

                        Imported and saved to IDE for building...so far so good...
                        Built a Debug version first.
                        Cleared the build Directory
                        Re-built a Release version...

                        1 Reply Last reply Reply Quote 0
                        • G
                          GreekProgrammer
                          last edited by

                          So far so good!

                          Just cleaned the directory...

                          in the x64>Debug>App folder is no exe.

                          Ready for release build now...this may take a little longer though.

                          2062daab-a210-483f-ad0c-fc694b2affd9-image.png

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            GreekProgrammer @GreekProgrammer
                            last edited by

                            @GreekProgrammer

                            This is a new one! HISE running in the VS environment (that didn't happen previously!!!)
                            Here she is in all her glory HISE Developer

                            28118ab4-eeaa-4710-8e98-4db7a13b05f1-image.png

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              GreekProgrammer @GreekProgrammer
                              last edited by

                              @GreekProgrammer
                              I hope I am not a pain! Here is the compiled exe file in the x64 folder

                              89a2e02d-750e-48f7-82fb-db423f0afed4-image.png

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                GreekProgrammer @GreekProgrammer
                                last edited by

                                @GreekProgrammer

                                And here is the path to the main source code added in...
                                075cd565-26fd-4976-8870-930573e221e8-image.png

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  GreekProgrammer @GreekProgrammer
                                  last edited by

                                  @GreekProgrammer
                                  And now for the Magic!

                                  I have copied my RNBO cpp files into an src folder in the files ThirdParty folder so it can find the RNBO C++ file in HISE..
                                  982fa842-9e23-4c2a-a68b-e478ad69796b-image.png

                                  and here is the bad boy!

                                  43dc2f21-bed2-40df-8c38-2afb992f81c9-image.png

                                  all good so far.....

                                  a9e7d067-2f9b-4e0f-9d3f-e872bbab60fa-image.png

                                  now this is where it all goes WRONG :-((((((. ......

                                  d.healeyD G 2 Replies Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @GreekProgrammer
                                    last edited by

                                    @GreekProgrammer said in Can't compile a DLL from the Export menu without getting an error message??? Can anyone help:

                                    now this is where it all goes WRONG :-((((((. ......

                                    Tell me more

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

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      GreekProgrammer @GreekProgrammer
                                      last edited by

                                      @GreekProgrammer

                                      Export>Compile DSP networks as dll...

                                      7a049a85-c89e-4a67-8464-d08c728dae98-image.png

                                      Std error message (clicking on OK next...)
                                      167b61d2-e8fb-4869-ad15-dfa25e85d823-image.png

                                      Both my chorus and PlateXRM externals are showing (So good so far)..Note the Chorus is from the RNBO Extras template pedal - so its a standard preset Max example that works.

                                      9ab9e9e2-31f9-47ef-bcaf-b02855b89719-image.png

                                      G 1 Reply Last reply Reply Quote 0
                                      • G
                                        GreekProgrammer @GreekProgrammer
                                        last edited by

                                        @GreekProgrammer

                                        AND LAW AND BEHOLD..... ITS DONE IT AGAIN :-{}

                                        AAAAARRRGGGGHHHHHH!!!!!!

                                        ac768d74-2297-4734-8ba4-77d0a468774e-image.png

                                        Maybe another JEDI can help here!
                                        I tried my best, honest Guv!

                                        d.healeyD G 2 Replies Last reply Reply Quote 0
                                        • d.healeyD
                                          d.healey @GreekProgrammer
                                          last edited by

                                          @GreekProgrammer Are you able to compile the dll if you don't have your RNBO thing in there?

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

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

                                            @d-healey Hi...Apologies for the entire transcript and walk-through. The only thing I can think of is one of 2 things:

                                            I have an installed version of JUCE on my PC already (so not the version provided in the Zip that I used to compile with)

                                            or

                                            I have a pointer to Visual Studio 2017 and that is confusing matters. I have uninstalled VS 2017 a very long time ago, (UNREAL ENGINE/Android developer) so maybe it's in the registry somewhere?

                                            Uuummmm

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

                                            30

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts