ios - Apple MATCH-O Linker Error -
i need ios development, making app compares pictures take pictures have comparison inside our files. xcode giving me apple match-o linker error
undefined symbols architecture arm64: "_jpeg_free_small", referenced from: _free_pool in opencv2(jmemmgr.o) _self_destruct in opencv2(jmemmgr.o) "_jpeg_mem_available", referenced from: _realize_virt_arrays in opencv2(jmemmgr.o) "_jpeg_free_large", referenced from: _free_pool in opencv2(jmemmgr.o) "_jpeg_open_backing_store", referenced from: _realize_virt_arrays in opencv2(jmemmgr.o) "_jpeg_get_large", referenced from: _alloc_large in opencv2(jmemmgr.o) _alloc_barray in opencv2(jmemmgr.o) "_jpeg_mem_term", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) _self_destruct in opencv2(jmemmgr.o) "_jpeg_mem_init", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) "_jpeg_get_small", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) _alloc_small in opencv2(jmemmgr.o) ld: symbol(s) not found architecture arm64 clang: error: linker command failed exit code 1 (use -v see invocation) (null): "_jpeg_free_small", referenced from: (null): _free_pool in opencv2(jmemmgr.o) (null): _self_destruct in opencv2(jmemmgr.o) (null): "_jpeg_mem_available", referenced from: (null): _realize_virt_arrays in opencv2(jmemmgr.o) (null): "_jpeg_free_large", referenced from: (null): _free_pool in opencv2(jmemmgr.o) (null): "_jpeg_open_backing_store", referenced from: (null): _realize_virt_arrays in opencv2(jmemmgr.o) (null): "_jpeg_get_large", referenced from: (null): _alloc_large in opencv2(jmemmgr.o) (null): _alloc_barray in opencv2(jmemmgr.o) (null): "_jpeg_mem_term", referenced from: (null): _jinit_memory_mgr in opencv2(jmemmgr.o) (null): _self_destruct in opencv2(jmemmgr.o) (null): "_jpeg_mem_init", referenced from: (null): _jinit_memory_mgr in opencv2(jmemmgr.o) (null): "_jpeg_get_small", referenced from: (null): _jinit_memory_mgr in opencv2(jmemmgr.o) (null): _alloc_small in opencv2(jmemmgr.o) (null): symbol(s) not found architecture arm64 (null): linker command failed exit code 1 (use -v see invocation) ld /users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/intermediates/delieyes.build/debug-iphoneos/delieyes.build/objects-normal/armv7/delieyes normal armv7 cd "/users/cristhiansoria/downloads/delieyes-master 2" export iphoneos_deployment_target=8.0 export path="/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/iphoneos8.3.sdk -l/users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/products/debug-iphoneos -f/users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/products/debug-iphoneos -f/users/cristhiansoria/downloads/delieyes-master\ 2/delieyes/framework -filelist /users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/intermediates/delieyes.build/debug-iphoneos/delieyes.build/objects-normal/armv7/delieyes.linkfilelist -xlinker -rpath -xlinker @executable_path/frameworks -dead_strip -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework slt -framework opencv2 -framework audiotoolbox -framework avfoundation -framework openears -xlinker -dependency_info -xlinker /users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/intermediates/delieyes.build/debug-iphoneos/delieyes.build/objects-normal/armv7/delieyes_dependency_info.dat -o /users/cristhiansoria/library/developer/xcode/deriveddata/delieyes-cykfjtuipjnvchakwiafcdadoofn/build/intermediates/delieyes.build/debug-iphoneos/delieyes.build/objects-normal/armv7/delieyes undefined symbols architecture armv7: "_jpeg_free_small", referenced from: _free_pool in opencv2(jmemmgr.o) _self_destruct in opencv2(jmemmgr.o) "_jpeg_mem_available", referenced from: _realize_virt_arrays in opencv2(jmemmgr.o) "_jpeg_free_large", referenced from: _free_pool in opencv2(jmemmgr.o) "_jpeg_open_backing_store", referenced from: _realize_virt_arrays in opencv2(jmemmgr.o) "_jpeg_get_large", referenced from: _alloc_large in opencv2(jmemmgr.o) _realize_virt_arrays in opencv2(jmemmgr.o) "_jpeg_mem_term", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) _self_destruct in opencv2(jmemmgr.o) "_jpeg_mem_init", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) "_jpeg_get_small", referenced from: _jinit_memory_mgr in opencv2(jmemmgr.o) _alloc_small in opencv2(jmemmgr.o) ld: symbol(s) not found architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)
and using opencv, there bad link our picture.
same issue opencv 3.0 rc1. works version 2.4.10.
Comments
Post a Comment