So I've been trying to integrate the QCAR library into an existing iOS app. I am using Xcode 4.3.3 and iOS 5. I have gotten all classes into build phases. Here is what I get when I bring over the ImageTargets class files to my app:
Undefined symbols for architecture armv7:
"_SecItemAdd", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecValueData", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemDelete", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferUnlockBaseAddress", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferGetHeight", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClassPublic", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CMSampleBufferGetImageBuffer", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClassKey", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemCopyMatching", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_OBJC_CLASS_$_AVCaptureConnection", referenced from:
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"_SCNetworkReachabilityCreateWithAddress", referenced from:
l2799 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferGetBaseAddressOfPlane", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferGetDataSize", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyGetBlockSize", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_OBJC_CLASS_$_AVCaptureSession", referenced from:
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"_AVMediaTypeVideo", referenced from:
+[OverlayViewController determineCameraCapabilities:] in OverlayViewController.o
l2876 in libQCAR.a(libQCAR.a-armv7-master.o)
l2888 in libQCAR.a(libQCAR.a-armv7-master.o)
l2889 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kCVPixelBufferPixelFormatTypeKey", referenced from:
l2884 in libQCAR.a(libQCAR.a-armv7-master.o)
l2885 in libQCAR.a(libQCAR.a-armv7-master.o)
l2888 in libQCAR.a(libQCAR.a-armv7-master.o)
l2889 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyTypeRSA", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_OBJC_CLASS_$_AVCaptureDeviceInput", referenced from:
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnPersistentRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_OBJC_CLASS_$_AVCaptureDevice", referenced from:
objc-class-ref in OverlayViewController.o
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrCanDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_OBJC_CLASS_$_AVCaptureVideoDataOutput", referenced from:
objc-class-ref in libQCAR.a(libQCAR.a-armv7-master.o)
"_CMTimeMake", referenced from:
l2888 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SCNetworkReachabilityGetFlags", referenced from:
l2799 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferLockBaseAddress", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyType", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrApplicationTag", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_CVPixelBufferGetWidth", referenced from:
l2893 in libQCAR.a(libQCAR.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture armv7
Scratch this forum. It seems like I forgot to add the frameworks when I added the .a library. Wow, what a noob error.
Undefined symbols for architecture armv7
I too am struggling with Undefined symbols for architecture armv7 errors.
It has happening after I import SampleApplicationSession in my project.
Undefined symbols for architecture armv7
I am getting the following errors when trying to import Vuforia into my own project. Anyone?
Undefined symbols for architecture armv7s:
"QCAR::State::getTrackableResult(int) const", referenced from: