Error when compile dsp with Pitch_Shift
-
Hello Fam,
I hope you all are well. I have been playing with the Pitch_shift. when I go to compile the dll I get this error. Referring to the timestretcher. I had a more complex scriptnode, but even with this simple one I am getting the same error. Has anyone else run into this or could point me to a solution? Thank you!!!
Creating library .....\dll\Dynamic Library\pitchtest.lib and object .....\dll\Dynamic Library\pitchtest.exp
!Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::reset(void)" (?reset@time_stretcher@hise@@QEAAXXZ) referenced in function "public: void __cdecl scriptnode::fx::pitch_shift<1>::reset(void)" (?reset@?$pitch_shift@$00@fx@scriptnode@@QEAAXXZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::process(float * *,int,float * *,int)" (?process@time_stretcher@hise@@QEAAXPEAPEAMH0H@Z) referenced in function "public: void __cdecl scriptnode::fx::VoiceData::process(struct snex::Types::ProcessDataDyn &,float *)" (?process@VoiceData@fx@scriptnode@@QEAAXAEAUProcessDataDyn@Types@snex@@PEAM@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::configure(int,double)" (?configure@time_stretcher@hise@@QEAAXHN@Z) referenced in function "public: static void __cdecl scriptnode::prototypes::static_wrappers<struct scriptnode::wrap::node<struct script_fx1_impl::instance<1> > >::prepare(void *,struct snex::Types::PrepareSpecs *)" (?prepare@?$static_wrappers@U?$node@U?$instance@$00@script_fx1_impl@@@wrap@scriptnode@@@prototypes@scriptnode@@SAXPEAXPEAUPrepareSpecs@Types@snex@@@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::setResampleBuffer(double,float *,int)" (?setResampleBuffer@time_stretcher@hise@@QEAAXNPEAMH@Z) referenced in function "public: static void __cdecl scriptnode::prototypes::static_wrappers<struct scriptnode::wrap::node<struct script_fx1_impl::instance<1> > >::prepare(void *,struct snex::Types::PrepareSpecs *)" (?prepare@?$static_wrappers@U?$node@U?$instance@$00@script_fx1_impl@@@wrap@scriptnode@@@prototypes@scriptnode@@SAXPEAXPEAUPrepareSpecs@Types@snex@@@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!Main.obj : error LNK2019: unresolved external symbol "public: __cdecl hise::time_stretcher::time_stretcher(bool)" (??0time_stretcher@hise@@QEAA@_N@Z) referenced in function "public: __cdecl scriptnode::fx::VoiceData::VoiceData(void)" (??0VoiceData@fx@scriptnode@@QEAA@XZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!Main.obj : error LNK2019: unresolved external symbol "public: __cdecl hise::time_stretcher::~time_stretcher(void)" (??1time_stretcher@hise@@QEAA@XZ) referenced in function "public: __cdecl scriptnode::fx::VoiceData::~VoiceData(void)" (??1VoiceData@fx@scriptnode@@QEAA@XZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
!.....\dll\Dynamic Library\pitchtest.dll : fatal error LNK1120: 6 unresolved externals [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj] -
@WaterSpoon I haven’t used this node yet but I’m thinking you may need to enable IPP or the FFTW library to get this node running. I could be off the mark but it’s one suggestion.
-
@HISEnberg Thank you!!! i think you might be on to something. I rebuilt HISE over the weekend and did not include.
-
@WaterSpoon Just took a peak at the source code and it looks like it is build from signalsmith time_stretcher which uses JUCE's FFT wrapper, so safest bet is to enable it in your project settings.
HISE/hi_dsp_library/dsp_nodes/FXNodes.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE
The open source framework for sample based instruments - HISE/hi_dsp_library/dsp_nodes/FXNodes.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE
GitHub (github.com)
HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/fft.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE
The open source framework for sample based instruments - HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/fft.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE
GitHub (github.com)