|
编译SDK包里面你们提供的源代码工程没有问题,但是编译自己的工程就出错,编译不通过,出错信息下问题:
Undefined symbols for architecture i386:
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
CControlCenter::LeaveRoom(int) in libanychatcore.a(ControlCenter.o)
CControlCenter::GetOnlineUser(std::list<unsigned int, std::allocator<unsigned int> >*) in libanychatcore.a(ControlCenter.o)
CControlCenter::RegisterBitrateStatistItem(unsigned int, unsigned int, unsigned int) in libanychatcore.a(ControlCenter.o)
CControlCenter::OnAppChangeP2PPolitic(SDK_P2P_POLITIC) in libanychatcore.a(ControlCenter.o)
CSubscriptHelper::OnSubscriptOtherUserStream(unsigned int, unsigned int, unsigned int, signed char) in libanychatcore.a(ControlCenter.o)
CNetworkCenter::SendBuf(unsigned int, char*, unsigned int, unsigned int, unsigned int, unsigned int) in libanychatcore.a(NetworkCenter.o)
CBufferTransMgr::OnMediaTransBufReSend(GV_MEDIA_PACK_TRANSBUF_RESEND_STRUCT*) in libanychatcore.a(buffertransmgr.o)
...
"std::_List_node_base::unhook()", referenced from:
CControlCenter::LeaveRoom(int) in libanychatcore.a(ControlCenter.o)
CControlCenter::RegisterBitrateStatistItem(unsigned int, unsigned int, unsigned int) in libanychatcore.a(ControlCenter.o)
CControlCenter::OnAppChangeP2PPolitic(SDK_P2P_POLITIC) in libanychatcore.a(ControlCenter.o)
CSubscriptHelper::ResetStatus() in libanychatcore.a(ControlCenter.o)
CSubscriptHelper::CancelUserAllSubScript(unsigned int) in libanychatcore.a(ControlCenter.o)
CSubscriptHelper::OnSubscriptOtherUserStream(unsigned int, unsigned int, unsigned int, signed char) in libanychatcore.a(ControlCenter.o)
CNetworkCenter::OnSocketWrite(unsigned int, unsigned int) in libanychatcore.a(NetworkCenter.o)
...
怎么办?
|
|