每当我添加一个openflow库并执行时,都会发生此错误
Undefined symbols:
"_CATransform3DIdentity", referenced from:
_CATransform3DIdentity$non_lazy_ptr in AFOpenFlowView.o
(maybe you meant: _CATransform3DIdentity$non_lazy_ptr)
"_CATransform3DRotate", referenced from:
-[AFOpenFlowView(hidden) setUpInitialState] in AFOpenFlowView.o
-[AFOpenFlowView(hidden) setUpInitialState] in AFOpenFlowView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
有人对此有任何想法吗?
答案 0 :(得分:3)
您需要将“QuartzCore”框架添加到您的应用中。您正在使用的库可能需要此框架,因此您的应用程序需要导入此框架才能进行编译。
答案 1 :(得分:1)
看起来您需要将QuartzCore框架添加到您的项目中。请参阅this question for Xcode 3.2或this question for Xcode4。