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" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class _STL::basic_string,class _STL::allocator > Util::cfgPath" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string,class _STL::allocator > Util::emptyString" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@A)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static char * Util::lower" ([email protected]@@0PADA)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall LogManager::dolog(class _STL::basic_string,class _STL::allocator > const &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@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 &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
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 &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class _STL::basic_string,class _STL::allocator > __thiscall SimpleXML::Tag::toXML(int)" ([email protected]@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall SimpleXML::fromXML(class _STL::basic_string,class _STL::allocator > const &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall SimpleXML::findChild(class _STL::basic_string,class _STL::allocator > const &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@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)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
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 &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
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)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall ClientManager::hubMessage(class _STL::basic_string,class _STL::allocator > const &)" ([email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class ClientManager * __fastcall Singleton::getInstance(void)" ([email protected][email protected]@@@@[email protected]@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class LogManager * __fastcall Singleton::getInstance(void)" ([email protected][email protected]@@@@[email protected]@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class PluginManager * __fastcall Singleton::getInstance(void)" ([email protected][email protected]@@@@[email protected]@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class SettingsManager * __fastcall Singleton::getInstance(void)" ([email protected][email protected]@@@@[email protected]@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class ResourceManager * __fastcall Singleton::getInstance(void)" ([email protected][email protected]@@@@[email protected]@XZ)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall SimpleXML::~SimpleXML(void)" ([email protected]@[email protected])
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall SimpleXML::SimpleXML(int)" ([email protected]@[email protected]@Z)
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall PluginManager::removeListenerImpl(class Plugin *,int)" ([email protected]@@[email protected]@[email protected])
Topic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall PluginManager::addListenerImpl(class Plugin *,int)" ([email protected]@@[email protected]@[email protected])
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