Compiling problems on ios
Getting this problems:
Ld /Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Products/Debug-iphonesimulator/proj.app/proj normal i386 cd /Users/ashik/Documents/myproj setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 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/iPhoneSimulator6.1.sdk -L/Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Products/Debug-iphonesimulator -F/Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Products/Debug-iphonesimulator -F/Users/ashik/Documents/myproj -F/Users/ashik/Documents/myproj/ios -filelist /Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Intermediates/proj.build/Debug-iphonesimulator/proj.build/Objects-normal/i386/proj.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -all_load -Obj-C -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework opencv2 -framework CoreImage -lz -framework ImageIO -weak_framework AVFoundation -framework AssetsLibrary /Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Products/Debug-iphonesimulator/libCordova.a -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework CFNetwork -framework CoreLocation -framework CoreVideo -weak_framework CoreMedia -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -o /Users/ashik/Library/Developer/Xcode/DerivedData/proj-ecgyfwzjltwqnfcdbdyzabqozbba/Build/Products/Debug-iphonesimulator/proj.app/proj
Undefined symbols for architecture i386: "std::runtime_error::what() const", referenced from: vtable for cvflann::FLANNException in opencv2(miniflann.o) "std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >::find_last_of(char const, unsigned long, unsigned long) const", referenced from: cv::CommandLineParser::CommandLineParser(int, char const const, std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&) in opencv2(command_line_parser.o) cv::glob(std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > > >&, bool) in opencv2(glob.o) cv::detail::matchesGraphAsString(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > > >&, std::__1::vector<cv::detail::matchesinfo, std::__1::allocator<cv::detail::matchesinfo=""> >&, float) in opencv2(motion_estimators.o) "std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> >::find(char const, unsigned long, unsigned long) const", referenced from: cv::DescriptorExtractor::create(std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&) in opencv2(descriptors.o) cv::FeatureDetector::create(std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&) in opencv2(detectors.o) cv::Directory::GetListFiles(std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&, bool) in opencv2(inputoutput.o) cv::Directory::GetListFolders(std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator<char> > const&, std::__1::basic_string<char, std ...
I think it's resolved. Just needed to add a "-lc++" in the other linker build settings