HISE Logo Forum
    • Categories
    • Register
    • Login

    I can't build simplest faust dsp

    Scheduled Pinned Locked Moved Faust Development
    9 Posts 5 Posters 144 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.
    • P
      parabuh
      last edited by

      Hey, im trying to build faust effect with simplest demo, i getting errors like below, using Sonoma, Xcode 15.3 and faust 2.77.3 any tips ?

      > Sorting include dependencies
      > Creating C++ file for Network Reverb
      > Compiling dll plugin
      Re-saving file: /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/AutogeneratedProject.jucer
      Finished saving: Visual Studio 2017
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      Compiling demo ...
      > Compiling Main.cpp
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:30:49: use of undeclared identifier 'project'
      
                                         wrap::fix<2, project::faust_reverb<NV>>>;
                                                      ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:30:76: expected ';' after alias declaration
      
                                         wrap::fix<2, project::faust_reverb<NV>>>;
                                                                                 ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:34:56: unknown template name 'Reverb_t_'
      
      template <int NV> struct instance: public Reverb_impl::Reverb_t_<NV>
                                                             ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:64:23: no member named 'get' in 'instance<NV>'
      
                      auto& faust = this->getT(0); // project::faust_reverb<NV>
                                          ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:73:9: no member named 'setParameter' in 'instance<NV>'
      
                      this->setParameterT(0, -18.);
                                 ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:74:9: no member named 'setParameter' in 'instance<NV>'
      
                      this->setParameterT(1, 0.225);
                                                 ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:75:9: no member named 'setParameter' in 'instance<NV>'
      
                      this->setParameterT(2, 0.75);
                                                 ^
      
      
      
      [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:76:9: no member named 'setParameter' in 'instance<NV>'
      
                      this->setParameterT(3, 0.85);
                                                 ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1726:7: no member named 'prepare' in 'Reverb_impl::instance<1>'
      
                      obj.prepare(ps);
                                                 ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1750:30: no member named 'reset' in 'Reverb_impl::instance<1>'
      
              void reset() noexcept { obj.reset(); }
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1710:7: no member named 'process' in 'Reverb_impl::instance<1>'
      
                      obj.process(fd);
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1716:7: no member named 'processFrame' in 'Reverb_impl::instance<1>'
      
                      obj.processFrame(fd);
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1716:7: no member named 'processFrame' in 'Reverb_impl::instance<1>'
      
                      obj.processFrame(fd);
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1690:7: no member named 'initialise' in 'Reverb_impl::instance<1>'
      
                      obj.initialise(n);
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1731:7: no member named 'handleHiseEvent' in 'Reverb_impl::instance<1>'
      
                      obj.handleHiseEvent(e);
                      ^
      
      
      
      [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1775:7: no member named 'parameters' in 'Reverb_impl::instance<1>'
      
                      obj.parameters.addToList(l);
                      ^demo
      
      
      ** BUILD FAILED **
      
      
      The following build commands failed:
      	CompileC /Volumes/T7/HISE/Projects/TAPER\ -\ Copy/DspNetworks/Binaries/Builds/MacOSX/build/demo.build/Release/demo\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Volumes/T7/HISE/Projects/TAPER\ -\ Copy/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'demo - Dynamic Library' from project 'demo')
      (1 failure)
      d.healeyD ulrikU 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @parabuh
        last edited by

        @parabuh Remove spaces from you project name and node names and parameter names if there are any

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

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

          @d-healey unfortunley its not working :(

          56980169-d611-4362-8263-822f6062a2ed-image.png

          > Sorting include dependencies
          > Creating C++ file for Network Reverb
          > Compiling dll plugin
          Re-saving file: /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/AutogeneratedProject.jucer
          Finished saving: Visual Studio 2017
          Finished saving: Xcode (macOS)
          Finished saving: Linux Makefile
          Compiling demo ...
          > Compiling Main.cpp
          
                                             wrap::fix<2, project::faust_reverb<NV>>>;
                                                          ^
          
          
          
          [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:20:76: expected ';' after alias declaration
          
                                             wrap::fix<2, project::faust_reverb<NV>>>;
                                                                                     ^
          
          
          
          [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:24:56: unknown template name 'Reverb_t_'
          
          template <int NV> struct instance: public Reverb_impl::Reverb_t_<NV>
                                                                 ^
          
          
          
          [x] /Volumes/T7/HISE/Projects/TAPER - Copy/DspNetworks/Binaries/Source/Reverb.h:47:23: no member named 'get' in 'instance<NV>'
          
                          auto& faust = this->getT(0); // project::faust_reverb<NV>
                                              ^
          
          
          
          [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1726:7: no member named 'prepare' in 'Reverb_impl::instance<1>'
          
                          obj.prepare(ps);
                                     ^
          
          
          
                          ^
          
          
          
          [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1710:7: no member named 'process' in 'Reverb_impl::instance<1>'
          
          
                          obj.processFrame(fd);
                          ^
          
          
          
          
          [x] /Users/admin/Downloads/HISE-ca06fcb9f0e27fdb7be45e9de968c5f85832e386/hi_dsp_library/node_api/nodes/processors.h:1731:7: no member named 'handleHiseEvent' in 'Reverb_impl::instance<1>'
          
                          obj.handleHiseEvent(e);
                          ^
          
          
          
          ** BUILD FAILED **
          
          
          The following build commands failed:
          	CompileC /Volumes/T7/HISE/Projects/TAPER\ -\ Copy/DspNetworks/Binaries/Builds/MacOSX/build/demo.build/Release/demo\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Volumes/T7/HISE/Projects/TAPER\ -\ Copy/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'demo - Dynamic Library' from project 'demo')
          (1 failure)
          
          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @parabuh
            last edited by

            @parabuh you are putting this in a hardcoded master effect, removing the scriptFX and then trying to compile right?

            HISE Development for hire.
            www.channelrobot.com

            P 1 Reply Last reply Reply Quote 0
            • P
              parabuh @Lindon
              last edited by

              @Lindon i just have this one node with faust which i trying to compile i dont have any hardcoded fx in rack :)

              LindonL DabDabD 2 Replies Last reply Reply Quote 0
              • LindonL
                Lindon @parabuh
                last edited by

                @parabuh ok first compile your ScriptNode FX into a DLL, then restart your project, add a Hardcoded master effect - your Faust based FX should be selectable... select it - remove the Script FX and try to compile...

                HISE Development for hire.
                www.channelrobot.com

                P 1 Reply Last reply Reply Quote 0
                • P
                  parabuh @Lindon
                  last edited by

                  @Lindon I did as you said and unfortunately it didn't help :(

                  1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @parabuh
                    last edited by

                    @parabuh Do you have a snippet?

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    1 Reply Last reply Reply Quote 0
                    • DabDabD
                      DabDab @parabuh
                      last edited by

                      @parabuh First Remove the duplicated import ("stdfaust.lib");

                      Next right click on Reverb > AllowCompilation to Enabled
                      ac6aa970-f4f5-4861-99ea-91394c38218a-image.png

                      and Save it from here
                      6c5dfdce-daa0-4bac-b36f-e6d3297d91c1-image.png

                      Next Compile DSP network as dll. It should work

                      Bollywood Music Producer and Trance Producer.

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

                      53

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts