RobinSchmidt / RS-MET

Codebase for RS-MET products (Robin Schmidt's Music Engineering Tools)
Other
56 stars 6 forks source link

compile error with rsLadder linker issue #200

Open elanhickler opened 6 years ago

elanhickler commented 6 years ago

something about not finding the set resonance function

Error   LNK2001 unresolved external symbol "public: void __cdecl RAPT::rsLadderFilter<double,double>::setResonance(double const &)" (?setResonance@?$rsLadderFilter@NN@RAPT@@QEAAXAEBN@Z)   Chaosfly_StandalonePlugin   1   D:\_PROGRAMMING\Soundemote\AudioPlugins\Chaosfly\Builds\VisualStudio2015\Chaosfly (x64).lib(ChaosflyCore.obj)   

Error   LNK1120 1 unresolved externals  Chaosfly_StandalonePlugin   1   D:\_PROGRAMMING\Soundemote\AudioPlugins\Chaosfly\Builds\VisualStudio2015\x64\Release\Standalone Plugin\Chaosfly (x64).exe   

Error   LNK2001 unresolved external symbol "public: void __cdecl RAPT::rsLadderFilter<double,double>::setResonance(double const &)" (?setResonance@?$rsLadderFilter@NN@RAPT@@QEAAXAEBN@Z)   Chaosfly_VST    1   D:\_PROGRAMMING\Soundemote\AudioPlugins\Chaosfly\Builds\VisualStudio2015\Chaosfly (x64).lib(ChaosflyCore.obj)   

Error   LNK1120 1 unresolved externals  Chaosfly_VST    1   D:\_PROGRAMMING\Soundemote\AudioPlugins\Chaosfly\Builds\VisualStudio2015\x64\Release\VST\Chaosfly (x64).dll 
elanhickler commented 6 years ago

added template class RAPT::rsLadderFilter<double, double>; to RS-MET\Libraries\JUCE\modules\rapt\rapt.cpp to solve the issue.

RobinSchmidt commented 6 years ago

i added it to rosic.cpp. this is actually the place where template instantiations should go

elanhickler commented 6 years ago

we need one for bouncillator