Unable to run 'androidopencvexample'

I’m using the latest OF version from github. I’ve an issue running any app that uses ‘opencv’. To verify I tried running ‘androidopencvexample’ itself.

Here’s my console output…

17:27:28 **** Build of configuration Release for project androidOpenCVExample **** make -j8 Release PLATFORM_OS=Android Compiling OF library for Release make[1]: Entering directory/home/shashank/Packages/openFrameworks-master/libs/openFrameworksCompiled/project’
make[2]: Nothing to be done for ReleaseABI'. make[2]: Nothing to be done forReleaseABI’.
make[2]: Nothing to be done for ReleaseABI'. make[2]: Nothing to be done forReleaseABI’.

Done!
make[1]: Leaving directory `/home/shashank/Packages/openFrameworks-master/libs/openFrameworksCompiled/project’

Compiling androidOpenCVExample for Release
make[1]: Entering directory /home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample' make[1]: Nothing to be done forReleaseABI’.
make[1]: Leaving directory /home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample' make[1]: Entering directory/home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample’
make[1]: Nothing to be done for ReleaseABI'. make[1]: Leaving directory/home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample’
make[1]: Entering directory /home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample' make[1]: Nothing to be done forReleaseABI’.
make[1]: Leaving directory /home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample' make[1]: Entering directory/home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample’
Linking libs/x86/libOFAndroidApp.so for android/x86
/home/shashank/Packages/android-ndk-r9b/toolchains/x86-4.8/prebuilt/linux-x86_64/bin/i686-linux-android-g++ -o libs/x86/libOFAndroidApp.so obj/android/x86/Release/src/ofApp.o obj/android/x86/Release/src/main.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidVideoPlayer.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidLogChannel.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidAccelerometer.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidSoundStream.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidVibrator.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidVideoGrabber.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidGPS.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidUtils.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofxAndroidSoundPlayer.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/src/ofAppAndroidWindow.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/libs/miniunzip/src/zip.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/libs/miniunzip/src/ioapi.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/libs/miniunzip/src/minizip.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/libs/miniunzip/src/miniunz.o …/…/…/addons/obj/android/x86/Release/ofxAndroid/libs/miniunzip/src/unzip.o …/…/…/addons/obj/android/x86/Release/ofxAccelerometer/src/ofxAccelerometer.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o …/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o …/…/…/libs/openFrameworksCompiled/lib/android/x86/libopenFrameworks.a --sysroot=/home/shashank/Packages/android-ndk-r9b/platforms/android-17/arch-x86/ -nostdlib -L"/home/shashank/Packages/android-ndk-r9b/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86" -shared -Wl,–no-undefined -Wl,–as-needed -Wl,–gc-sections …/…/…/libs/FreeImage/lib/android/x86/libfreeimage.a …/…/…/libs/freetype/lib/android/x86/libfreetype.a …/…/…/libs/tess2/lib/android/x86/libtess2.a …/…/…/libs/poco/lib/android/x86/libPocoNetSSL.a …/…/…/libs/poco/lib/android/x86/libPocoNet.a …/…/…/libs/poco/lib/android/x86/libPocoCrypto.a …/…/…/libs/poco/lib/android/x86/libPocoUtil.a …/…/…/libs/poco/lib/android/x86/libPocoXML.a …/…/…/libs/poco/lib/android/x86/libPocoFoundation.a …/…/…/libs/openssl/lib/android/x86/libssl.a …/…/…/libs/openssl/lib/android/x86/libcrypto.a -lsupc++ -lz -lGLESv1_CM -lGLESv2 -llog -ldl -lm -lc -lgnustl_static -lgcc
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::clear(): error: undefined reference to ‘cvReleaseImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::convertShortToGray(_IplImage*, _IplImage*): error: undefined reference to ‘cvConvertScale’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::convertGrayToShort(_IplImage*, _IplImage*): error: undefined reference to ‘cvConvertScale’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::set(float): error: undefined reference to ‘cvSet’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::resize(int, int): error: undefined reference to ‘cvCreateImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::resize(int, int): error: undefined reference to ‘cvResize’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::resize(int, int): error: undefined reference to ‘cvCopy’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::resize(int, int): error: undefined reference to ‘cvReleaseImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::scaleIntoMe(ofxCvImage&, int): error: undefined reference to ‘cvResize’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::ofxCvShortImage(ofxCvShortImage const&): error: undefined reference to ‘cvCopy’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::ofxCvShortImage(ofxCvShortImage const&): error: undefined reference to ‘cvCopy’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::contrastStretch(): error: undefined reference to ‘cvMinMaxLoc’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::setFromPixels(unsigned char const*, int, int): error: undefined reference to ‘cvCreateImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::setRoiFromPixels(unsigned char const*, int, int): error: undefined reference to ‘cvCreateImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::operator=(ofxCvColorImage const&): error: undefined reference to ‘cvCreateImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::operator=(ofxCvColorImage const&): error: undefined reference to ‘cvCvtColor’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::operator=(ofxCvShortImage const&): error: undefined reference to ‘cvCopy’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvShortImage.o:ofxCvShortImage.cpp:function ofxCvShortImage::addWeighted(ofxCvGrayscaleImage&, float): error: undefined reference to ‘cvAddWeighted’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function sort_carea_compare(CvSeq const*, CvSeq const*): error: undefined reference to ‘cvContourArea’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function sort_carea_compare(CvSeq const*, CvSeq const*): error: undefined reference to ‘cvContourArea’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvCreateMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvCreateMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvFindContours’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvContourArea’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvContourArea’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvBoundingRect’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvMoments’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvArcLength’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvStartReadSeq’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvChangeSeqBlock’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvReleaseMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvContourFinder.o:ofxCvContourFinder.cpp:function ofxCvContourFinder::findContours(ofxCvGrayscaleImage&, int, int, int, bool, bool): error: undefined reference to ‘cvReleaseMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::setup(std::string): error: undefined reference to ‘cvReleaseHaarClassifierCascade’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::setup(std::string): error: undefined reference to ‘cvLoad’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::findHaarObjects(ofxCvGrayscaleImage const&, int, int, int, int, int, int): error: undefined reference to ‘cvEqualizeHist’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::findHaarObjects(ofxCvGrayscaleImage const&, int, int, int, int, int, int): error: undefined reference to ‘cvCreateMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::findHaarObjects(ofxCvGrayscaleImage const&, int, int, int, int, int, int): error: undefined reference to ‘cvHaarDetectObjects’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::findHaarObjects(ofxCvGrayscaleImage const&, int, int, int, int, int, int): error: undefined reference to ‘cvGetSeqElem’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::findHaarObjects(ofxCvGrayscaleImage const&, int, int, int, int, int, int): error: undefined reference to ‘cvReleaseMemStorage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvHaarFinder.o:ofxCvHaarFinder.cpp:function ofxCvHaarFinder::~ofxCvHaarFinder(): error: undefined reference to ‘cvReleaseHaarClassifierCascade’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::clear(): error: undefined reference to ‘cvReleaseImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::convertFloatToGray(_IplImage*, _IplImage*): error: undefined reference to ‘cvConvertScale’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::convertGrayToFloat(_IplImage*, _IplImage*): error: undefined reference to ‘cvConvertScale’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::set(float): error: undefined reference to ‘cvSet’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::resize(int, int): error: undefined reference to ‘cvResize’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::resize(int, int): error: undefined reference to ‘cvReleaseImage’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::scaleIntoMe(ofxCvImage&, int): error: undefined reference to ‘cvResize’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::contrastStretch(): error: undefined reference to ‘cvMinMaxLoc’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::operator=(ofxCvColorImage const&): error: undefined reference to ‘cvCvtColor’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::operator*=(ofxCvImage&): error: undefined reference to ‘cvMul’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::operator&=(ofxCvImage&): error: undefined reference to ‘cvAnd’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvFloatImage.o:ofxCvFloatImage.cpp:function ofxCvFloatImage::addWeighted(ofxCvGrayscaleImage&, float): error: undefined reference to ‘cvAddWeighted’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::set(float): error: undefined reference to ‘cvSet’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::set(int, int, int): error: undefined reference to ‘cvSet’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::operator-=(float): error: undefined reference to ‘cvAddS’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::operator+=(float): error: undefined reference to ‘cvAddS’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::convertRgbToHsv(): error: undefined reference to ‘cvCvtColor’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::convertHsvToRgb(): error: undefined reference to ‘cvCvtColor’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::setFromGrayscalePlanarImages(ofxCvGrayscaleImage&, ofxCvGrayscaleImage&, ofxCvGrayscaleImage&): error: undefined reference to ‘cvMerge’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::convertToGrayscalePlanarImages(ofxCvGrayscaleImage&, ofxCvGrayscaleImage&, ofxCvGrayscaleImage&): error: undefined reference to ‘cvSplit’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvColorImage.o:ofxCvColorImage.cpp:function ofxCvColorImage::convertToGrayscalePlanarImage(ofxCvGrayscaleImage&, int): error: undefined reference to ‘cvSplit’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::setImageROI(_IplImage*, ofRectangle const&): error: undefined reference to ‘cvSetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::getROI(): error: undefined reference to ‘cvGetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::resetROI(): error: undefined reference to ‘cvResetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::resetROI(): error: undefined reference to ‘cvResetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::resetImageROI(_IplImage*): error: undefined reference to ‘cvResetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::blurGaussian(int): error: undefined reference to ‘cvSmooth’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::blur(int): error: undefined reference to ‘cvSmooth’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpIntoMe(ofxCvImage&, ofVec3f const*, ofVec3f const*): error: undefined reference to ‘cvCreateMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpIntoMe(ofxCvImage&, ofVec3f const*, ofVec3f const*): error: undefined reference to ‘cvSetZero’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpIntoMe(ofxCvImage&, ofVec3f const*, ofVec3f const*): error: undefined reference to ‘cvGetPerspectiveTransform’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpIntoMe(ofxCvImage&, ofVec3f const*, ofVec3f const*): error: undefined reference to ‘cvWarpPerspective’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpIntoMe(ofxCvImage&, ofVec3f const*, ofVec3f const*): error: undefined reference to ‘cvReleaseMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::drawBlobIntoMe(ofxCvBlob&, int): error: undefined reference to ‘cvFillPoly’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::setROI(int, int, int, int): error: undefined reference to ‘cvSetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::setROI(int, int, int, int): error: undefined reference to ‘cvSetImageROI’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::dilate(): error: undefined reference to ‘cvDilate’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::invert(): error: undefined reference to ‘cvNot’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::mirror(bool, bool): error: undefined reference to ‘cvFlip’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator-=(float): error: undefined reference to ‘cvAddS’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator+=(float): error: undefined reference to ‘cvAddS’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpPerspective(ofVec3f const&, ofVec3f const&, ofVec3f const&, ofVec3f const&): error: undefined reference to ‘cvCreateMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpPerspective(ofVec3f const&, ofVec3f const&, ofVec3f const&, ofVec3f const&): error: undefined reference to ‘cvSetZero’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpPerspective(ofVec3f const&, ofVec3f const&, ofVec3f const&, ofVec3f const&): error: undefined reference to ‘cvGetPerspectiveTransform’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpPerspective(ofVec3f const&, ofVec3f const&, ofVec3f const&, ofVec3f const&): error: undefined reference to ‘cvWarpPerspective’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::warpPerspective(ofVec3f const&, ofVec3f const&, ofVec3f const&, ofVec3f const&): error: undefined reference to ‘cvReleaseMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::transform(float, float, float, float, float, float, float): error: undefined reference to ‘cvCreateMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::transform(float, float, float, float, float, float, float): error: undefined reference to ‘cvWarpAffine’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::transform(float, float, float, float, float, float, float): error: undefined reference to ‘cvReleaseMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::undistort(float, float, float, float, float, float, float, float): error: undefined reference to ‘cvUnDistortOnce’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::erode(): error: undefined reference to ‘cvErode’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::remap(_IplImage*, _IplImage*): error: undefined reference to ‘cvRemap’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator-=(ofxCvImage&): error: undefined reference to ‘cvSub’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator+=(ofxCvImage&): error: undefined reference to ‘cvAdd’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator*=(ofxCvImage&): error: undefined reference to ‘cvMul’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::operator&=(ofxCvImage&): error: undefined reference to ‘cvAnd’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvImage.o:ofxCvImage.cpp:function ofxCvImage::countNonZeroInRegion(int, int, int, int): error: undefined reference to ‘cvCountNonZero’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::~ofxCvGrayscaleImage(): error: undefined reference to ‘cvReleaseMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::init(): error: undefined reference to ‘cvCreateMat’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::contrastStretch(): error: undefined reference to ‘cvMinMaxLoc’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::brightnessContrast(float, float): error: undefined reference to ‘cvLUT’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::threshold(int, bool): error: undefined reference to ‘cvThreshold’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::adaptiveThreshold(int, int, bool, bool): error: undefined reference to ‘cvAdaptiveThreshold’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::absDiff(ofxCvGrayscaleImage&): error: undefined reference to ‘cvAbsDiff’
…/…/…/addons/obj/android/x86/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o:ofxCvGrayscaleImage.cpp:function ofxCvGrayscaleImage::absDiff(ofxCvGrayscaleImage&, ofxCvGrayscaleImage&): error: undefined reference to ‘cvAbsDiff’
collect2: error: ld returned 1 exit status
make[1]: Leaving directory `/home/shashank/Packages/openFrameworks-master/examples/android/androidOpenCVExample’
make[1]: *** [libs/x86/libOFAndroidApp.so] Error 1
make: *** [Release] Error 2

17:27:31 Build Finished (took 2s.315ms)`

Similar errors occur with my app. Any ideas?

i added support for android x86 recently but opencv is still not compiled for x86 add this at the end of config.make:

ABIS_TO_COMPILE_RELEASE = armv7
ABIS_TO_COMPILE_DEBUG = armv7
1 Like