Error for Complie Ice Client to VC6
--------------------Configuration: ClientVC6 - Win32 Debug--------------------
Linking...
xilink6: executing 'D:\PROGRA~1\MICROS~2\VC98\Bin\link.exe'
ClientVC6.obj : error LNK2001: unresolved external symbol "class IceProxy::Ice::Object * __cdecl IceInternal::upCast(class IceProxy::ChatSpaceDef::ChatSpace *)" (?upCast@IceInternal@@YAPAVObject@Ice@IceProxy@@PAVChatSpace@ChatSpaceDef@4@@Z)
ClientVC6.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall IceProxy::Ice::Object::ice_isA(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,class _STL::map
<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::less<class _STL::basic_string<char,class _STL::char_tra
its<char>,class _STL::allocator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL
::allocator<char> > > > > const &)" (__imp_?ice_isA@Object@Ice@IceProxy@@QAE_NABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@ABV?$map@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@V12@U?$less@V?$basic_string@DV?$
char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@V12@@_STL@@@2@@5@@Z)
ClientVC6.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall IceProxy::Ice::Object::ice_isA(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)" (__imp_?ice_i
sA@Object@Ice@IceProxy@@QAE_NABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
ClientVC6.obj : error LNK2001: unresolved external symbol "public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const & __cdecl IceProxy::ChatSpaceDef::ChatSpace::ice_staticId(void)" (?ice_staticId
@ChatSpace@ChatSpaceDef@IceProxy@@SAABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@XZ)
ClientVC6.obj : error LNK2001: unresolved external symbol "private: virtual class IceProxy::Ice::Object * __thiscall IceProxy::ChatSpaceDef::ChatSpace::__newInstance(void)const " (?__newInstance@ChatSpace@ChatSpaceDef@IceProxy@@EBEPAVObject@Ice@3@XZ
)
ClientVC6.obj : error LNK2001: unresolved external symbol "private: virtual class IceInternal::Handle<class IceDelegateD::Ice::Object> __thiscall IceProxy::ChatSpaceDef::ChatSpace::__createDelegateD(void)" (?__createDelegateD@ChatSpace@ChatSpaceDef@
IceProxy@@EAE?AV?$Handle@VObject@Ice@IceDelegateD@@@IceInternal@@XZ)
ClientVC6.obj : error LNK2001: unresolved external symbol "private: virtual class IceInternal::Handle<class IceDelegateM::Ice::Object> __thiscall IceProxy::ChatSpaceDef::ChatSpace::__createDelegateM(void)" (?__createDelegateM@ChatSpace@ChatSpaceDef@
IceProxy@@EAE?AV?$Handle@VObject@Ice@IceDelegateM@@@IceInternal@@XZ)
ClientVC6.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ice::ConnectionInfo::`vbase destructor'(void)" (__imp_??_DConnectionInfo@Ice@@QAEXXZ)
Debug/ClientVC6.exe : fatal error LNK1120: 8 unresolved externals
执行 xilink6.exe 时出错.
ClientVC6.exe - 1 error(s), 0 warning(s)
why?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
[解决办法]
ice在vc6环境下配置方法:
http://blog.csdn.net/itecwwj/archive/2007/04/02/1549670.aspx