这球bug的废死多少脑细胞,大大们帮帮忙,小弟在线等。。。。。 Undefined symbols for architecture x86_64:

u011118092 2016-12-15 11:08:48
Undefined symbols for architecture x86_64:
"_PPPP_Check", referenced from:
CPPPPChannel::CommandProcess() in PPPPChannel.o
"_PPPP_Check_Buffer", referenced from:
CPPPPChannel::CommandProcess() in PPPPChannel.o
CPPPPChannel::TalkProcess() in PPPPChannel.o
"_PPPP_Connect", referenced from:
CPPPPChannel::CommandProcess() in PPPPChannel.o
"_PPPP_ConnectByServer", referenced from:
CPPPPChannel::CommandProcess() in PPPPChannel.o
"_PPPP_Connect_Break", referenced from:
CPPPPChannelManagement::StopAll() in PPPPChannelManagement.o
CPPPPChannel::PPPPClose() in PPPPChannel.o
"_PPPP_ForceClose", referenced from:
CPPPPChannel::PPPPClose() in PPPPChannel.o
"_PPPP_Initialize", referenced from:
-[P2PCameraDemoViewController Initialize:] in P2PCameraDemoViewController.o
"_PPPP_NetworkDetect", referenced from:
-[P2PCameraDemoViewController Initialize:] in P2PCameraDemoViewController.o
"_PPPP_Read", referenced from:
CPPPPChannel::PPPP_IndeedRead(unsigned char, char*, int) in PPPPChannel.o
"_PPPP_Write", referenced from:
CPPPPChannel::CommandProcess() in PPPPChannel.o
CPPPPChannel::SendTalk(char*, int) in PPPPChannel.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...全文
274 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
u011118092 2016-12-15
  • 打赏
  • 举报
回复

CPPPPChannel文件是用C++写了,

void CPPPPChannel::PPPPClose()
{
[m_PPPPCloseCondition lock];

PPPP_Connect_Break();
if (m_hSessionHandle >= 0) {
//PPPP_Close(m_hSessionHandle);
PPPP_ForceClose(m_hSessionHandle);
m_hSessionHandle = -1;
}

[m_PPPPCloseCondition unlock];
}

void CPPPPChannel::MsgNotify(int MsgType,int Param)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
MainWindowNotify(MsgType, Param);
PlayWindowNotify(MsgType, Param);
[pool release];
}


大大,这种混编在编译的时候报 architecture x86_64:,劳烦大大帮忙看看,不懂C++

paschen 版主 2016-12-15
  • 打赏
  • 举报
回复

64,642

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧