|
我现在在diameter上进行开发,它需要使用ACE ,用的是5.5.在windows 系统vs2003上进行开发,编译通过,但是在连接的时候出现了错误 .错误如下
error LNK2019: 无法解析的外部符号 "public: static class DiameterAvpTypeList_S * __cdecl ACE_Singleton<class DiameterAvpTypeList_S,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VDiameterAvpTypeList_S@@VACE_Recursive_Thread_Mutex@@@@SAPAVDiameterAvpTypeList_S@@XZ) ,该符号在函数 "unsigned int __cdecl getMinSize(class AAADictionaryEntry *)" (?getMinSize@@YAIPAVAAADictionaryEntry@@@Z) 中被引用
error LNK2001: 无法解析的外部符号 "public: static class DiameterAvpTypeList_S * __cdecl ACE_Singleton<class DiameterAvpTypeList_S,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VDiameterAvpTypeList_S@@VACE_Recursive_Thread_Mutex@@@@SAPAVDiameterAvpTypeList_S@@XZ)
error LNK2001: 无法解析的外部符号 "public: static class DiameterAvpTypeList_S * __cdecl ACE_Singleton<class DiameterAvpTypeList_S,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VDiameterAvpTypeList_S@@VACE_Recursive_Thread_Mutex@@@@SAPAVDiameterAvpTypeList_S@@XZ)
error LNK2001: 无法解析的外部符号 "public: static class DiameterAvpTypeList_S * __cdecl ACE_Singleton<class DiameterAvpTypeList_S,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VDiameterAvpTypeList_S@@VACE_Recursive_Thread_Mutex@@@@SAPAVDiameterAvpTypeList_S@@XZ)
error LNK2019: 无法解析的外部符号 "public: static class AAAMemoryManager * __cdecl ACE_Singleton<class AAAMemoryManager,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VAAAMemoryManager@@VACE_Recursive_Thread_Mutex@@@@SAPAVAAAMemoryManager@@XZ) ,该符号在函数 "protected: static void * __cdecl AAAMessageBlock::operator new(unsigned int)" (??2AAAMessageBlock@@KAPAXI@Z) 中被引用
error LNK2001: 无法解析的外部符号 "public: static class AAAMemoryManager * __cdecl ACE_Singleton<class AAAMemoryManager,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VAAAMemoryManager@@VACE_Recursive_Thread_Mutex@@@@SAPAVAAAMemoryManager@@XZ)
error LNK2001: 无法解析的外部符号 "public: static class AAAMemoryManager * __cdecl ACE_Singleton<class AAAMemoryManager,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VAAAMemoryManager@@VACE_Recursive_Thread_Mutex@@@@SAPAVAAAMemoryManager@@XZ)
error LNK2019: 无法解析的外部符号 "public: static class AAAMemoryManager * __cdecl ACE_Singleton<class AAAMemoryManager,class ACE_Recursive_Thread_Mutex>::instance(void)" (?instance@?$ACE_Singleton@VAAAMemoryManager@@VACE_Recursive_Thread_Mutex@@@@SAPAVAAAMemoryManager@@XZ) ,该符号在函数 "public: virtual void * __thiscall AAAErrorCode::`scalar deleting destructor'(unsigned int)" (??_GAAAErrorCode@@UAEPAXI@Z) 中被引用 ACE_Singleton 请教各位大虾啊
为什么啊,我按照网上的方法配置的ACE,使用ACE的其它类度没有问题,问题全度指向 |
|