我正在尝试运行gimbal https://www.gimbal.com/的示例项目(Mallmart)
Mallmart成功运行,但当我尝试使用IR运行Mallmart时,我得到了这个错误
Undefined symbols for architecture armv7:
"QCAR::State::getNumActiveTrackables() const", referenced from:
-[EAGLView renderFrameQCAR] in ContextIR
"_OBJC_CLASS_$_CMMotionManager", referenced from:
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"QCAR::State::getActiveTrackable(int) const", referenced from:
-[EAGLView renderFrameQCAR] in ContextIR
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)我试图从vuforia-sdk-ios-2-0-29中添加libQCAR.a,但仍然有此错误。
有人能帮我解决这个问题吗?
对不起我的英语不好,我希望你能理解我的意思。
非常感谢
发布于 2013-10-23 20:35:09
在您的项目目标Build Settings中,您应该从有效体系结构中删除armv7s。
很可能没有为这个体系结构编译libQCAR.a。通过将其从项目中删除,它将不再试图在此体系结构中编译您的项目,这将解决您的问题。
即使您没有为armv7s编译,您的应用程序仍将在较新的iOS设备上工作,但它不会对该体系结构进行所有的优化。
https://stackoverflow.com/questions/14171944
复制相似问题