Ask Your Question

sri's profile - activity

2012-11-10 12:17:20 -0600 commented question OpenCV 2.4.3 iOS CvVideoCamera throws build errors

Hi

I am also running into the same issue. Were you able to figure it out ?

Thanks

2012-11-03 07:05:11 -0600 asked a question Fails to compile opencv application in ios simulator mode

Hi

I ran into the below issue while compiling iOS - Video Processing application (http://docs.opencv.org/trunk/doc/tutorials/ios/video_processing/video_processing.html#opencviosvideoprocessing). I have added all frameworks mentioned in the example although running into the linking issue. I have no clue what might be the cause of failure ?

setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/sri/Library/Developer/Xcode/DerivedData/cv-dzndfggsazabzcfixxkxdvyturye/Build/Products/Debug-iphonesimulator -F/Users/srikanthparupati/Library/Developer/Xcode/DerivedData/cv-dzndfggsazabzcfixxkxdvyturye/Build/Products/Debug-iphonesimulator -F/Users/srikanthparupati/Desktop/Hobby/cv -filelist /Users/srikanthparupati/Library/Developer/Xcode/DerivedData/cv-dzndfggsazabzcfixxkxdvyturye/Build/Intermediates/cv.build/Debug-iphonesimulator/cv.build/Objects-normal/i386/cv.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -framework CoreVideo -framework AssetsLibrary -framework CoreImage -framework CoreMedia -framework AVFoundation -framework CoreGraphics -framework CoreLocation -framework CoreFoundation -framework QuartzCore -framework Accelerate -framework UIKit -framework Foundation -framework opencv2 -o /Users/sri/Library/Developer/Xcode/DerivedData/cv-dzndfggsazabzcfixxkxdvyturye/Build/Products/Debug-iphonesimulator/cv.app/cv

Undefined symbols for architecture i386: "std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >::__init(char const, unsigned long)", referenced from: cv::fastMalloc(unsigned long) in opencv2(alloc.o) _cvSetMemoryManager in opencv2(alloc.o) cv::Mat::create(int, int const, int) in opencv2(matrix.o) __ZN2cvL7setSizeERNS_3MatEiPKiPKmb in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&) in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&) in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Range const) in opencv2(matrix.o) ... "std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >::~basic_string()", referenced from: cv::fastMalloc(unsigned long) in opencv2(alloc.o) _cvSetMemoryManager in opencv2(alloc.o) cv::Mat::create(int, int const, int) in opencv2(matrix.o) __ZN2cvL7setSizeERNS_3MatEiPKiPKmb in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&) in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&) in opencv2(matrix.o) cv::Mat::Mat(cv::Mat const&, cv::Range const) in opencv2(matrix.o) ... "std::__1::basic_ostream<char, std::__1::char_traits<char=""> >::flush()", referenced from: cv::gpu::error(char const, char const, int, char const) in opencv2(gpumat.o) "std::__1::basic_ostream<char, std::__1::char_traits<char=""> >::sentry::sentry(std::__1::basic_ostream<char, std::__1::char_traits<char=""> >&)", referenced from: std::__1::basic_ostream<char, std::__1::char_traits<char=""> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char=""> >&, char const) in opencv2(gpumat.o) "std::__1::basic_ostream<char, std::__1::char_traits<char=""> >::sentry::~sentry()", referenced from: std::__1::basic_ostream<char, std::__1::char_traits<char=""> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char=""> >&, char ... (more)