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.
    • 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:

      but my program is not built from source?

      713c020a-281e-4ff9-a62b-4d653b7849e5-image.png

      Did you compile from source or not? If not, you need to do that first.

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

        @d-healey

        Hi!
        Thanks, I’ll have a go compiling from source once again, but It would be great to have an example of a path so I can Include this in my settings when I have do this!
        Top guy thanks

        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:

          an example of a path so I can Include this in my settings when I have do this

          The path is the path to the source code on your system, it's unique to you because only you know where you have put the source code.

          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

            Ah! I see…I’ll have a go. Hopefully this will work and I can begin setting up my RNBO patch with a HISE interface…

            Thanks again

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

              @d-healey

              Hi! I have had a go at compiling but keep running into problems on windows using Visual Studio 2022? Errors. I have watched the Main YouTube Channel - is that you? A Yorkshire Man maybe like myself!

              Anyway, not sure what to do now?

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

                @GreekProgrammer

                Having trouble compiling!

                I have selected RELEASE from the build menu (CI/debug etc?)
                d5409e4c-2b26-4925-987a-a5e24f91892f-image.png

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

                  Here's the latest..... I am pulling my hair out now!!!

                  Animation.gif

                  I have compiled HISE via the most up to date developer source (branch GitHub), and gone through the tutorial on Installation. The main HISE site for installation using VS 2022. I first built a Debug that worked and then a release...all worked fine.

                  When I import an RNBO into HISE using the C++ using Tools and try to compile it, there is no DLL and I now get a new ERROR!

                  I have tried both Hardcoded MasterFX and ScriptFX nodes.

                  I have also made sure my Path Child is pointing to HISE with the core folder etc.. (as advised)
                  659831f7-78c3-4c41-b0de-f3ab0b553369-image.png

                  I would like to start using HISE, but this is strongly putting me off now!!!
                  Any Takers Please...????
                  62e195c4-d57a-4583-9e03-16ffcca603d7-image.png

                  HISEnbergH 1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            28

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts