I can't build simplest faust dsp
-
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)
-
@parabuh Remove spaces from you project name and node names and parameter names if there are any
-
@d-healey unfortunley its not working :(
> 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)
-
@parabuh you are putting this in a hardcoded master effect, removing the scriptFX and then trying to compile right?
-
@Lindon i just have this one node with faust which i trying to compile i dont have any hardcoded fx in rack :)
-
@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...
-
@Lindon I did as you said and unfortunately it didn't help :(
-
@parabuh Do you have a snippet?
-
@parabuh First Remove the duplicated
import ("stdfaust.lib");
Next right click on Reverb > AllowCompilation to Enabled
and Save it from here
Next Compile DSP network as dll. It should work