opencv.framework that i have compiled has duplicate symbols

asked 2013-03-26 17:46:17 -0500

atrebbi gravatar image

I have tried to compile opencv from sources using python script in ios directory, but i have got linker errors ( that i'm not getting using the downloaded compiled framework )

( i just wanted to fix a bug in opencv )

duplicate symbol __ZN2cv15SURFFindInvoker17findMaximaInLayerERKNS_3MatES3_RKNSt3__16vectorIS1_NS4_9allocatorIS1_EEEESA_RKNS5_IiNS6_IiEEEERNS5_INS_8KeyPointENS6_ISF_EEEEiifi in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZN2cv4SURFC1Ev in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZNK2cv4SURF10detectImplERKNS_3MatERNSt3__16vectorINS_8KeyPointENS4_9allocatorIS6_EEEES3_ in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZNK2cv4SURF11computeImplERKNS_3MatERNSt3__16vectorINS_8KeyPointENS4_9allocatorIS6_EEEERS1_ in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZNK2cv4SURF14descriptorSizeEv in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZNK2cv4SURF14descriptorTypeEv in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZNK2cv4SURFclERKNS_11_InputArrayES3_RNSt3__16vectorINS_8KeyPointENS4_9allocatorIS6_EEEERKNS_12_OutputArrayEb in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTCN2cv4SURFE0_NS_15FeatureDetectorE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTCN2cv4SURFE0_NS_9Feature2DE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTCN2cv4SURFE4_NS_19DescriptorExtractorE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTIN2cv4SURFE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTSN2cv4SURFE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTTN2cv4SURFE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZTVN2cv4SURFE in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZThn4_NK2cv4SURF11computeImplERKNS_3MatERNSt3__16vectorINS_8KeyPointENS4_9allocatorIS6_EEEERS1_ in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZThn4_NK2cv4SURF14descriptorSizeEv in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) duplicate symbol __ZThn4_NK2cv4SURF14descriptorTypeEv in: /Sorgenti/opencv/opencv2.framework/opencv2(surf.o) ld: 21 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

edit retag flag offensive close merge delete