HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust error when compiling dll

    Scheduled Pinned Locked Moved Faust Development
    15 Posts 7 Posters 837 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.
    • F
      fazzitog
      last edited by

      When compiling the plugin from the Script Node, throws the error:

      "E:\HISE Projectos\Timeless\DspNetworks\ThirdParty\shimmer.h(15,10): error C1083: Cannot open included file:
      'src/shimmer.cpp': No such file or directory [E:\HISE Projectos\Timeless\DspNetworks\Binaries\Builds\VisualStudio2022\Timeless_DynamicLibrary.vcxproj]"

      8f9bcb0e-a8dd-443f-9059-bdbfc6370494-image.png

      But the file is created in the direction that the error points out

      333cb63e-eeff-4fb3-a32d-01dea711026e-image.png

      And when I try to recompile, a "shimmer [externalC++]" appears

      19b4808b-accd-4abb-9b58-23c47134142f-image.png

      Do you know what´s happening? Thanks in advance

      F 1 Reply Last reply Reply Quote 0
      • F
        fazzitog @fazzitog
        last edited by

        Using Faust 2.69.3 and HISE 3.6.2

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

          @fazzitog said in Faust error when compiling dll:

          HISE 3.6.2

          What commit are you using?

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

          F 2 Replies Last reply Reply Quote 0
          • F
            fazzitog @d.healey
            last edited by

            @d-healey commit d3f364f - bump version to 3.6.2

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

              @d-healey Went to commit 3235dac - bump to version V 3.6.0

              and throws the same error

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

                @fazzitog Oh that's quite old now, I'd try a more recent one.

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

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

                  @d-healey Went to V2.4.8 and worked idk

                  previously I made a dll using RNBO. The cmd crashes before it loads RNBO.cpp

                  Can it be something?

                  d.healeyD HISEnbergH O 3 Replies Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @fazzitog
                    last edited by

                    @fazzitog I'm not familiar with RNBO so I don't know.

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

                    1 Reply Last reply Reply Quote 0
                    • HISEnbergH
                      HISEnberg @fazzitog
                      last edited by

                      @fazzitog What version of RNBO are you working with?

                      1 Reply Last reply Reply Quote 0
                      • O
                        obolig @fazzitog
                        last edited by obolig

                        @fazzitog Did you ever find a solution? I'm having the same issue.

                        Edit: Are you saying you went to version 2.4.8 of HISE? That doesn't seem right. I thought maybe you meant an older version of Faust, but that didn't work either.

                        Edit 2: I switched over to mac and got it to work easily, but I still can't get it to work on windows. I'm getting the same error stating

                        ...fatal error C1083: Cannot open include file: 'src/FaustReverb.cpp': No such file or directory...
                        
                        O 1 Reply Last reply Reply Quote 0
                        • O
                          obolig @obolig
                          last edited by

                          @obolig Update: I moved the "FaustReverb.cpp" file up in the folder structure and edited a single line in "FaustReverb.h" from #include "src/FaustReverb.cpp" to #include "FaustReverb.cpp" to account for the changed location. This allowed me to successfully build the DLL and use it in a HardcodedMasterFX.

                          Now the issue is that when I try to export the FX plugin, I get the error "DSP Network sanity check failed ... Hash mismatch".

                          I will continue to try and find a solution. Any help is appreciated.

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            obolig @obolig
                            last edited by

                            @obolig SOLUTION: Turns out the statement in the generated header file that reads #include "src/FaustReverb.cpp" is not searching in reference to the header file, but instead in reference to your HISE path set in your compiler settings. I dragged the "src" folder (including .cpp file) to my HISE folder and it created a DLL and allowed me to export the FX plugin.

                            I'm guessing this is not the intended process for this. I'll report the issue over on git.

                            M 1 Reply Last reply Reply Quote 0
                            • S
                              Sounddiy
                              last edited by Sounddiy

                              Same Problem here.

                              @obolig , your solution works for me but how could we manage to find an other way to skip this error each times we compil?

                              thanks

                              Math

                              1 Reply Last reply Reply Quote 0
                              • M
                                Mighty23 @obolig
                                last edited by

                                @obolig said in Faust error when compiling dll:

                                SOLUTION: Turns out the statement in the generated header file that reads #include "src/FaustReverb.cpp" is not searching in reference to the header file, but instead in reference to your HISE path set in your compiler settings. I dragged the "src" folder (including .cpp file) to my HISE folder and it created a DLL and allowed me to export the FX plugin.

                                I think I have the usual problem, which path should /src be moved to? In this post we only refer to the HISE folder.

                                Should I move the /src folder from DSPNetwork located in the Project folder to the folder where HISE is contained? to which route?

                                Free Party, Free Tekno & Free Software too

                                DanHD 1 Reply Last reply Reply Quote 0
                                • DanHD
                                  DanH @Mighty23
                                  last edited by

                                  @Mighty23 try opening the autogenerated Projucer file and building it from there

                                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                  https://dhplugins.com/ | https://dcbreaks.com/
                                  London, UK

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

                                  8

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  102.8k

                                  Posts