need help with topic plugin

DCH++ has been abandoned, this forum serves mainly as an archive

Moderator: Moderators

Locked
olettaja
Posts: 8
Joined: 2006-01-14 05:47

need help with topic plugin

Post by olettaja » 2006-01-14 05:59

I have a problem compiling topic plugin. Other plugins works fine but I'm getting errors with this. I'm using STLPort-4.6.2. Buildlog errors:

Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class _STL::basic_string,class _STL::allocator > * ResourceManager::strings" (__imp_?strings@ResourceManager@@0PAV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class _STL::basic_string,class _STL::allocator > Util::cfgPath" (__imp_?cfgPath@Util@@0V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string,class _STL::allocator > Util::emptyString" (__imp_?emptyString@Util@@2V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static char * Util::lower" (__imp_?lower@Util@@0PADA)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall LogManager::dolog(class _STL::basic_string,class _STL::allocator > const &)" (__imp_?dolog@LogManager@@AAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall SimpleXML::addTag(class _STL::basic_string,class _STL::allocator > const &,class _STL::basic_string,class _STL::allocator > const &)" (__imp_?addTag@SimpleXML@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall SimpleXML::addChildAttrib(class _STL::basic_string,class _STL::allocator > const &,class _STL::basic_string,class _STL::allocator > const &)" (__imp_?addChildAttrib@SimpleXML@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class _STL::basic_string,class _STL::allocator > __thiscall SimpleXML::Tag::toXML(int)" (__imp_?toXML@Tag@SimpleXML@@QAE?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@H@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall SimpleXML::fromXML(class _STL::basic_string,class _STL::allocator > const &)" (__imp_?fromXML@SimpleXML@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall SimpleXML::findChild(class _STL::basic_string,class _STL::allocator > const &)" (__imp_?findChild@SimpleXML@@QAE_NABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall ClientManager::sendToAll(class _STL::basic_string,class _STL::allocator > const &,bool,bool)" (__imp_?sendToAll@ClientManager@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@_N1@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Client::hubMessage(class _STL::basic_string,class _STL::allocator > const &,class _STL::basic_string,class _STL::allocator > const &)" (__imp_?hubMessage@Client@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string,class _STL::allocator > __fastcall Util::formatTime(class _STL::basic_string,class _STL::allocator > const &,long)" (__imp_?formatTime@Util@@SI?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@ABV23@J@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall ClientManager::hubMessage(class _STL::basic_string,class _STL::allocator > const &)" (__imp_?hubMessage@ClientManager@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class ClientManager * __fastcall Singleton::getInstance(void)" (__imp_?getInstance@?$Singleton@VClientManager@@@@SIPAVClientManager@@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class LogManager * __fastcall Singleton::getInstance(void)" (__imp_?getInstance@?$Singleton@VLogManager@@@@SIPAVLogManager@@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class PluginManager * __fastcall Singleton::getInstance(void)" (__imp_?getInstance@?$Singleton@VPluginManager@@@@SIPAVPluginManager@@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class SettingsManager * __fastcall Singleton::getInstance(void)" (__imp_?getInstance@?$Singleton@VSettingsManager@@@@SIPAVSettingsManager@@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class ResourceManager * __fastcall Singleton::getInstance(void)" (__imp_?getInstance@?$Singleton@VResourceManager@@@@SIPAVResourceManager@@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall SimpleXML::~SimpleXML(void)" (__imp_??1SimpleXML@@QAE@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall SimpleXML::SimpleXML(int)" (__imp_??0SimpleXML@@QAE@H@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall PluginManager::removeListenerImpl(class Plugin *,int)" (__imp_?removeListenerImpl@PluginManager@@AAEXPAVPlugin@@H@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall PluginManager::addListenerImpl(class Plugin *,int)" (__imp_?addListenerImpl@PluginManager@@AAEXPAVPlugin@@H@Z)
D:\Asennukset\dc++h_source\dc++h(juoppola_[private])2\App\Topic.dll : fatal error LNK1120: 23 unresolved externals

Quattro
Posts: 166
Joined: 2006-01-11 09:23

Post by Quattro » 2006-01-16 13:17

i suspect you use microsoft visual studio to compile DCH++
if that's the case you should set the project dependencies for topic plugin
topic plugin depends on project hub ;-)

^^ just a wild guess :P
my problems with compiling where solved using this solution

olettaja
Posts: 8
Joined: 2006-01-14 05:47

Post by olettaja » 2006-01-16 14:50

That was the problem and now I managed to get it work. Thank you very much Quattro.

Locked