Configuring ofxFaceTracker2 for Android in eclipse IDE

Hi,

I’m trying to add ofxFaceTracker2 to my project but I’m facing this error:

Linking libs/armeabi-v7a/libOFAndroidApp.so for android/armeabi-v7a
/home/fnishihara/Android/android-ndk-r12b//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -o libs/armeabi-v7a/libOFAndroidApp.so -s obj/android/armv7/Release/src/FaceMask.o obj/android/armv7/Release/src/ofApp.o obj/android/armv7/Release/src/main.o obj/android/armv7/Release/src/facetracker/IO.o obj/android/armv7/Release/src/facetracker/FDet.o obj/android/armv7/Release/src/facetracker/Patch.o obj/android/armv7/Release/src/facetracker/PDM.o obj/android/armv7/Release/src/facetracker/CLM.o obj/android/armv7/Release/src/facetracker/PAW.o obj/android/armv7/Release/src/facetracker/FCheck.o obj/android/armv7/Release/src/facetracker/Tracker.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVideoGrabber.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVideoPlayer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofAppAndroidWindow.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidSoundPlayer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidAccelerometer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidGPS.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVibrator.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidLogChannel.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidUtils.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidSoundStream.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxAccelerometer/src/ofxAccelerometer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvHaarFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvShortImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvContourFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvColorImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvFloatImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/ContourFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Tracker.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Helpers.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Distance.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/RunningBackground.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Calibration.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Wrappers.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/ObjectFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Utilities.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Kalman.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/ofxCv/src/Flow.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/CLD/src/fdog.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxCv/libs/CLD/src/ETF.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxFaceTracker2/src/ofxFaceTracker2Landmarks.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxFaceTracker2/src/ofxFaceTracker2Instance.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxFaceTracker2/src/ofxFaceTracker2.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openFrameworksCompiled/lib/android/armv7/libopenFrameworks.a  /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_legacy.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_calib3d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_features2d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_objdetect.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_video.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_imgproc.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ml.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_core.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_flann.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_contrib.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_video.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_features2d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_contrib.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_photo.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_androidcamera.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_gpu.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_superres.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_legacy.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_highgui.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ml.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_core.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_imgproc.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_videostab.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ts.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_calib3d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_nonfree.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_objdetect.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_flann.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_stitching.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxFaceTracker2/libs/dlib/lib/android/armeabi-v7a/libdlib.a --sysroot=/home/fnishihara/Android/android-ndk-r12b//platforms/android-19/arch-arm/ -nostdlib -L"/home/fnishihara/Android/android-ndk-r12b//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -Wl,--fix-cortex-a8 -shared -Wl,--no-undefined -Wl,--as-needed -Wl,--gc-sections -Wl,--exclude-libs,ALL /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/FreeImage/lib/android/armeabi-v7a/libfreeimage.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/boost/lib/android/armeabi-v7a/libboost_system.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/boost/lib/android/armeabi-v7a/libboost_filesystem.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/freetype/lib/android/armeabi-v7a/libfreetype.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/glu/lib/android/armeabi-v7a/libGLU.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/tess2/lib/android/armeabi-v7a/libtess2.a  /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoNetSSL.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoNet.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoCrypto.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoJSON.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoMongoDB.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoDataSQLite.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoData.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoUtil.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoXML.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoFoundation.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openssl/lib/android/armeabi-v7a/libssl.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openssl/lib/android/armeabi-v7a/libcrypto.a   -lOpenSLES -lsupc++ -lz -lGLESv1_CM -lGLESv2 -llog -ldl -lm -lc -lgnustl_static -lgcc
/home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxFaceTracker2/src/ofxFaceTracker2.o:ofxFaceTracker2.cpp:function dlib::compress_stream_kernel_1<dlib::entropy_encoder_model_kernel_5<257ul, dlib::entropy_encoder_kernel_2, 200000ul, 4ul>, dlib::entropy_decoder_model_kernel_5<257ul, dlib::entropy_decoder_kernel_2, 200000ul, 4ul>, dlib::crc32>::decompress(std::istream&, std::ostream&) const: error: undefined reference to 'dlib::entropy_decoder_kernel_2::set_stream(std::istream&)'
/home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/armv7/Release/ofxFaceTracker2/src/ofxFaceTracker2.o:ofxFaceTracker2.cpp:function dlib::get_serialized_frontal_faces(): error: undefined reference to 'dlib::base64::decode(std::istream&, std::ostream&) const'

I just put ofxFaceTracker2 to addons folder and update addons.make file. Removing ofxFaceTracker2 from addons.make the project compiles fine.
Does anyone knows how to solve this error?

Hey, I can see you are running with a newer version of NDK (r12b). Its not build for this version yet. It might be the problem.

Hi @halfdanj,

tried with NDK r10e and I’m having same error.

Linking libs/armeabi-v7a/libOFAndroidApp_neon.so for android/armeabi-v7a
    /home/fnishihara/Android/android-ndk-r10e//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -o libs/armeabi-v7a/libOFAndroidApp_neon.so -s obj/android/neon/Release/src/ofApp.o obj/android/neon/Release/src/main.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidVideoGrabber.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidVideoPlayer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofAppAndroidWindow.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidSoundPlayer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidAccelerometer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidGPS.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidVibrator.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidLogChannel.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidUtils.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAndroid/src/ofxAndroidSoundStream.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxAccelerometer/src/ofxAccelerometer.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvHaarFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvShortImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvContourFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvColorImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxOpenCv/src/ofxCvFloatImage.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/ContourFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Tracker.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Helpers.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Distance.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/RunningBackground.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Calibration.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Wrappers.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/ObjectFinder.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Utilities.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Kalman.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/ofxCv/src/Flow.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/CLD/src/fdog.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxCv/libs/CLD/src/ETF.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxFaceTracker2/src/ofxFaceTracker2.o /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openFrameworksCompiled/lib/android/neon/libopenFrameworks.a  /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_legacy.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_calib3d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_features2d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_objdetect.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_video.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_imgproc.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ml.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_core.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_flann.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_contrib.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_video.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_features2d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_contrib.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_photo.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_androidcamera.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_gpu.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_superres.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_legacy.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_highgui.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ml.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_core.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_imgproc.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_videostab.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ts.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_calib3d.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_nonfree.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_objdetect.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_flann.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_stitching.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxFaceTracker2/libs/dlib/lib/android/armeabi-v7a/libdlib.a --sysroot=/home/fnishihara/Android/android-ndk-r10e//platforms/android-19/arch-arm/ -nostdlib -L"/home/fnishihara/Android/android-ndk-r10e//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -Wl,--fix-cortex-a8 -shared -Wl,--no-undefined -Wl,--as-needed -Wl,--gc-sections -Wl,--exclude-libs,ALL /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/FreeImage/lib/android/armeabi-v7a/libfreeimage.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/boost/lib/android/armeabi-v7a/libboost_system.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/boost/lib/android/armeabi-v7a/libboost_filesystem.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/freetype/lib/android/armeabi-v7a/libfreetype.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/glu/lib/android/armeabi-v7a/libGLU.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/tess2/lib/android/armeabi-v7a/libtess2.a  /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoNetSSL.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoNet.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoCrypto.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoJSON.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoMongoDB.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoDataSQLite.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoData.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoUtil.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoXML.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/poco/lib/android/armeabi-v7a/libPocoFoundation.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openssl/lib/android/armeabi-v7a/libssl.a /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/libs/openssl/lib/android/armeabi-v7a/libcrypto.a   -lOpenSLES -lsupc++ -lz -lGLESv1_CM -lGLESv2 -llog -ldl -lm -lc -lgnustl_static -lgcc
    /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxFaceTracker2/src/ofxFaceTracker2.o:ofxFaceTracker2.cpp:function dlib::compress_stream_kernel_1<dlib::entropy_encoder_model_kernel_5<257ul, dlib::entropy_encoder_kernel_2, 200000ul, 4ul>, dlib::entropy_decoder_model_kernel_5<257ul, dlib::entropy_decoder_kernel_2, 200000ul, 4ul>, dlib::crc32>::decompress(std::istream&, std::ostream&) const: error: undefined reference to 'dlib::entropy_decoder_kernel_2::set_stream(std::istream&)'
    /home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/obj/android/neon/Release/ofxFaceTracker2/src/ofxFaceTracker2.o:ofxFaceTracker2.cpp:function dlib::get_serialized_frontal_faces(): error: undefined reference to 'dlib::base64::decode(std::istream&, std::ostream&) const'
    make[1]: Leaving directory `/home/fnishihara/Documents/workspace/OpenFrameworks_0.9.3/addons/ofxFaceTracker2/androidDlibExample'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/streambuf:220: error: undefined reference to 'std::__1::locale::~locale()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/streambuf:220: error: undefined reference to 'std::__1::locale::~locale()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/streambuf:220: error: undefined reference to 'std::__1::locale::~locale()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/streambuf:220: error: undefined reference to 'std::__1::locale::~locale()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/ios:661: error: undefined reference to 'std::__1::ios_base::~ios_base()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/ios:661: error: undefined reference to 'std::__1::ios_base::~ios_base()'
    /Users/jonas/Development/Android/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include/ios:661: error: undefined reference to 'std::__1::ios_base::~ios_base()'

Probably it is a link error. Tried this: http://stackoverflow.com/a/38365572 … but still not work.