pkmital/Real-Time-Object-Detection — Issue #1: Compile on ios
Author: sunatmidnight
Created: 2011-11-04 13:51:35+00:00
State: open

Hello,

I'm trying to compile for ios, with actual Xcode 4.2, ios SDK 5.0, based on the openCV-Example code from openFrameworks (which compiles fine btw).
This gives me the following linker errors:
ld: warning: ignoring file ../../../addons/ofxOpenCv/libs/opencv/lib/osx/opencv.a, missing required architecture armv7 in file
Undefined symbols for architecture armv7:
"__ZN2cv4SIFT14DetectorParamsC1Ev", referenced from:
__ZN2cv15FeatureDetector6createERKSs in opencv.a(detectors.o)
"__ZN2cv4SIFTC1Edbbiiii", referenced from:
__ZN2cv23SiftDescriptorExtractor4readERKNS_8FileNodeE in opencv.a(descriptors.o)
__ZN2cv19DescriptorExtractor6createERKSs in opencv.a(descriptors.o)
"__ZNK2cv4SIFTclERKNS_3MatES3_RSt6vectorINS_8KeyPointESaIS5_EERS1_b", referenced from:
__ZNK2cv23SiftDescriptorExtractor11computeImplERKNS_3MatERSt6vectorINS_8KeyPointESaIS5_EERS1_ in opencv.a(descriptors.o)
"__ZNK2cv4SIFTclERKNS_3MatES3_RSt6vectorINS_8KeyPointESaIS5_EE", referenced from:
__ZNK2cv19SiftFeatureDetector10detectImplERKNS_3MatERSt6vectorINS_8KeyPointESaIS5_EES3_ in opencv.a(detectors.o)
"__ZN2cv4SIFT12CommonParamsC1Ev", referenced from:
__ZN2cv15FeatureDetector6createERKSs in opencv.a(detectors.o)
__ZN2cv19DescriptorExtractor6createERKSs in opencv.a(descriptors.o)
"__ZN2cv4SIFTC1Eddiiii", referenced from:
__ZN2cv19SiftFeatureDetector4readERKNS_8FileNodeE in opencv.a(detectors.o)
__ZN2cv15FeatureDetector6createERKSs in opencv.a(detectors.o)
"__ZN2cv4SIFT16DescriptorParamsC1Ev", referenced from:
__ZN2cv19DescriptorExtractor6createERKSs in opencv.a(descriptors.o)
ld: symbol(s) not found for architecture armv7

Do you have a working example for mobile?

Regards,
sunatmidnight