今天学习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 阅读(467)
评论(0) 编辑 收藏 所属分类:
Objective c