随笔-311  评论-598  文章-0  trackbacks-0
今天学习Objective c,发现简单的helloworld总是编译不通过,提示问题如下:
"_objc_msgSend", referenced from:
"_OBJC_METACLASS_$_NSObject", referenced from:
后来再网上搜索了一圈才发现,如果不是Mac工程,需要手动加入一个类库
Sounds like you didn't link against the Foundation framework. Go to Project -> Add To Project... and then add /System/Library/Frameworks/Foundation.framework to the project. Then, your app should compile.
这样就搞定了,靠,浪费我时间,下次看来要按部就班了。。。

---------------------------------------------------------
专注移动开发

Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian
posted on 2010-04-11 15:37 TiGERTiAN 阅读(351) 评论(0)  编辑  收藏 所属分类: Objective c

只有注册用户登录后才能发表评论。


网站导航: