Just can't build RTAS on Windows

Getting the plugin DLL to link statically to the CRT is going to be difficult… I tried setting the Release compiler flag to /clr and got quite a few errors…

http://msdn.microsoft.com/en-us/library/vstudio/abx4dbyh(v=vs.100).aspx

Cheers,

Rail

Hi,

I was trying to build the JuceDemoPlugin on Windows using the instructions in this thread.
The release version is working for the first time ever, but I have some linker errors when trying to build the debug version. maybe someone can help me with this.

1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@@Z)" in Funktion ""public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall CPlugInAssertion::getMessage(void)const " (?getMessage@CPlugInAssertion@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)". 1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: int __thiscall std::ios_base::width(int)" (__imp_?width@ios_base@std@@QAEHH@Z)" in Funktion ""class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)". 1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" (__imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z)" in Funktion ""class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)". 1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: int __thiscall std::ios_base::width(void)const " (__imp_?width@ios_base@std@@QBEHXZ)" in Funktion ""class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)". 1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (__imp_?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)" in Funktion ""public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::_Sentry_base(class std::basic_ostream<char,struct std::char_traits<char> > &)" (??0_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)". 1>PlugInLib_stdcall.lib(PlugInAssert.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (__imp_?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ)" in Funktion ""public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Sentry_base::~_Sentry_base(void)" (??1_Sentry_base@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)". 1>PlugInLib_stdcall.lib(CPlugInStreams.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CSet.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)" in Funktion "__ehhandler$??0?$pair@Viterator@?$_Tree@V?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@@std@@_N@std@@QAE@ABViterator@?$_Tree@V?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@@1@AB_N@Z". 1>PlugInLib_stdcall.lib(CProcessDSP.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CCachedPictureManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CObjectMap.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CAOSManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CCustomView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CDSPUtils.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CPluginControlManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CMeterManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CDialogView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Discrete.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CProcessType.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CDSPProcessType.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CProcessGroup.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CDSPProcessGroup.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CDialogView.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,unsigned int,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDIU_No_debug_placeholder@01@@Z)" in Funktion ""protected: static class CPlugInView * __stdcall CItemListView::NewControlItem(struct SItemDescriptor *)" (?NewControlItem@CItemListView@@KGPAVCPlugInView@@PAUSItemDescriptor@@@Z)". 1>PlugInLib_stdcall.lib(CCustomView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,unsigned int,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDIU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CMacControlView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,unsigned int,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDIU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)const " (__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ)" in Funktion ""public: virtual bool __thiscall CPluginControl_Continuous::IsKeyValid(long)const " (?IsKeyValid@CPluginControl_Continuous@@UBE_NJ@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)const " (__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ)" in Funktion ""public: virtual bool __thiscall CPluginControl_Continuous::IsKeyValid(long)const " (?IsKeyValid@CPluginControl_Continuous@@UBE_NJ@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator+=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z)" in Funktion ""class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __stdcall ContinuousToString(double,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,bool)" (?ContinuousToString@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NHABV12@HPBUPrefixDictionaryEntry@@1_N@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) struct std::_Smanip<int> __cdecl std::setprecision(int)" (__imp_?setprecision@std@@YA?AU?$_Smanip@H@1@H@Z)" in Funktion ""class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __stdcall ContinuousToString(double,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,bool)" (?ContinuousToString@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NHABV12@HPBUPrefixDictionaryEntry@@1_N@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)" in Funktion ""class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __stdcall ContinuousToString(double,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,bool)" (?ContinuousToString@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NHABV12@HPBUPrefixDictionaryEntry@@1_N@Z)". 1>PlugInLib_stdcall.lib(CCustomView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)". 1>PlugInLib_stdcall.lib(CMacControlView.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall std::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >::`vbase destructor'(void)" (__imp_??_D?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ)" in Funktion ""double __stdcall StringToContinuous(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?StringToContinuous@@YGNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PBUPrefixDictionaryEntry@@1V12@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) bool __cdecl std::operator==<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z)" in Funktion ""double __stdcall StringToContinuous(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?StringToContinuous@@YGNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PBUPrefixDictionaryEntry@@1V12@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::substr(unsigned int,unsigned int)const " (__imp_?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV12@II@Z)" in Funktion ""double __stdcall StringToContinuous(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?StringToContinuous@@YGNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PBUPrefixDictionaryEntry@@1V12@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) class std::basic_istream<char,struct std::char_traits<char> > & __cdecl std::operator>><char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (__imp_??$?5DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@@Z)" in Funktion ""double __stdcall StringToContinuous(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?StringToContinuous@@YGNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PBUPrefixDictionaryEntry@@1V12@@Z)". 1>PlugInLib_stdcall.lib(CPluginControl_Continuous.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (__imp_??0?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@H@Z)" in Funktion ""double __stdcall StringToContinuous(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct PrefixDictionaryEntry const *,struct PrefixDictionaryEntry const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?StringToContinuous@@YGNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PBUPrefixDictionaryEntry@@1V12@@Z)". 1>PlugInLib_stdcall.lib(CCustomView.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator+=(char)" (__imp_??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@D@Z)" in Funktion ""unsigned char __stdcall GetKeyword(struct SCustomParser *)" (?GetKeyword@@YGEPAUSCustomParser@@@Z)". 1>PlugInLib_stdcall.lib(CCustomView.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) bool __cdecl std::operator<<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??$?MDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z)" in Funktion ""public: bool __thiscall std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::operator()(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (??R?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@0@Z)". 1>PlugInLib_stdcall.lib(CMacControlView.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: char & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator[](struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Size_type_nosscl)" (__imp_??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAADU_Size_type_nosscl@01@@Z)" in Funktion ""public: __thiscall CMacControlView::CMacControlView(void)" (??0CMacControlView@@QAE@XZ)". 1>PlugInLib_stdcall.lib(CSet.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)" in Funktion ""public: __thiscall std::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0>::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0>(class CBaseSetMap::KeyCompare)" (??0?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@QAE@VKeyCompare@CBaseSetMap@@@Z)". 1>PlugInLib_stdcall.lib(CObjectMap.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)". 1>PlugInLib_stdcall.lib(CPlugInStreams.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??$?HDU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@ABV10@0@Z)" in Funktion ""public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall DefaultPathFileNameCallback::operator()(void)" (??RDefaultPathFileNameCallback@@UAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::~basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(void)" (__imp_??1?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@XZ)" in Funktion ""class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __stdcall ConvertUTF16ToUTF8(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?ConvertUTF16ToUTF8@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: wchar_t const * __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::c_str(void)const " (__imp_?c_str@?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QBEPB_WXZ)" in Funktion ""class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __stdcall ConvertUTF16ToUTF8(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >)" (?ConvertUTF16ToUTF8@@YG?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (__imp_??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@ABV01@@Z)" in Funktion ""class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __stdcall ConvertUTF8ToUTF16(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?ConvertUTF8ToUTF16@@YG?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > & __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::operator=(wchar_t const *)" (__imp_??4?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEAAV01@PB_W@Z)" in Funktion ""class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __stdcall ConvertUTF8ToUTF16(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?ConvertUTF8ToUTF16@@YG?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)". 1>PlugInLib_stdcall.lib(GetDefaultPath.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(struct std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::_Has_debug_it)" (__imp_??0?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@U_Has_debug_it@01@@Z)" in Funktion ""class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __stdcall ConvertUTF8ToUTF16(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?ConvertUTF8ToUTF16@@YG?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z)". 1>.\Debug\\JuceDemoPlugin.dpm : fatal error LNK1120: 28 nicht aufgelöste Externe

Attached is a VS2012 folder for the demo plugin which builds as an RTAS Debug.

You will need to change the AppConfig.h to build the RTAS version and make the changes in juce_RTAS_Wrapper.cpp as described above.

Also change the output file to your dae\plugins path (Linker Output File and Build Events->Post-Build Event).

Note: I only modified the Debug properties in this solution.

Rail

If I just replace the Visual Studio folder with yours the project is a huge mess. But when I compile it for debug I get the same linker error LNK2019.
Maybe something went wrong compiling the stdcall pluginlib?

edit:
I’m down to just a few errors by recompiling the pluginlib. But I still can’t get it to build. Can someone give me a working PlugInLib_stdcall.lib just to test it out?

1>PlugInLib_stdcall.lib(CSet.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)" in Funktion ""protected: class std::_Tree<class std::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0> >::iterator __thiscall std::_Tree<class std::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0> >::_Insert(bool,struct std::_Tree_nod<class std::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0> >::_Node *,struct std::pair<void * const,class CBaseSetElement *> const &)" (?_Insert@?$_Tree@V?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@@std@@IAE?AViterator@12@_NPAU_Node@?$_Tree_nod@V?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@@2@ABU?$pair@QAXPAVCBaseSetElement@@@2@@Z)". 1>PlugInLib_stdcall.lib(CObjectMap.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CPlugInStreams.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_No_debug_placeholder)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDU_No_debug_placeholder@01@@Z)". 1>PlugInLib_stdcall.lib(CSet.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)" in Funktion ""public: __thiscall std::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0>::_Tmap_traits<void *,class CBaseSetElement *,class CBaseSetMap::KeyCompare,class std::allocator<struct std::pair<void * const,class CBaseSetElement *> >,0>(class CBaseSetMap::KeyCompare)" (??0?$_Tmap_traits@PAXPAVCBaseSetElement@@VKeyCompare@CBaseSetMap@@V?$allocator@U?$pair@QAXPAVCBaseSetElement@@@std@@@std@@$0A@@std@@QAE@VKeyCompare@CBaseSetMap@@@Z)". 1>PlugInLib_stdcall.lib(CObjectMap.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)". 1>PlugInLib_stdcall.lib(CPlugInStreams.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ)". 1>.\Debug\\JuceDemoPlugin.dpm : fatal error LNK1120: 2 nicht aufgelöste Externe

Sounds like your paths aren’t set up right in the solution properties…

Perhaps you can post some pertinent screen shots of your solution properties (or a video using Jing would be better). Let us know the path(s) to your Dev/Debug PT build and the path to your SDK libraries.

I don’t believe the NDA would allow sharing of the DLL.

Here’s an example of a video showing the IntroJucer created plugin being compiled for debug: http://screencast.com/t/4rnxAhRRHTo

Rail

[quote=“0-matic”]If I just replace the Visual Studio folder with yours the project is a huge mess. But when I compile it for debug I get the same linker error LNK2019.
Maybe something went wrong compiling the stdcall pluginlib?

edit:
I’m down to just a few errors by recompiling the pluginlib. But I still can’t get it to build. Can someone give me a working PlugInLib_stdcall.lib just to test it out?

There are three projects you need to change the toolset to be the same one as your plugin (eg “Visual Studio 2012 - Windows XP (v110_xp)”) they are:
PlugInLib.vcproj
DSPManagerClientLib.vcproj
RTASClientLib.vcproj

I suggest disabling PlugInLib from including the other two libs to save confusion like this in the future.

Hey guys,

I also suffered through the RTAS saga and created this:
http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=11750

It’s focussed on vs2008 because I believe that the only “oficially supported” version for the PT8SKD of VS is actually even only 2005.
If you guys have a similarly formatted HOWTO for 20012 which definitely works from a clean unzip of the PT SDK I could add it to my post.

  • bram

I know this is an old thread, but I´m testing with MSVC2013 Preview and I can compile without problems a 64 bits .dpm, no idea if it will work, as I don´t know anything about RTAS files.

Now, if I set the compiler to 32 bits, I get several error messages, some are easy to handle, while others are not.

So I guess RTAS is only 32 bit compatible, and during compilation in 64 bits mode it doesn´t generate any RTAS code, right?

RTAS is only 32 bit...  You should only be building a 32 bit dpm

 

Rail