ofxARToolkitPlus on andrid?

Hello , I’m trying to run the library in android, I am compiling with android adt in mac but I am receiv this error

typedef typename Distance :: ElementType ElementType ;
                                            ^
Compiling … / . . /… / Addons / ofxARtoolkitPlus / src / ofxARToolkitPlus.cpp
/users/userloco/desktop/android/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++
-c
-Os -Wall- nostdlib - sysroot = /
users/userloco/desktop/android/android-ndk-r9c/platforms/android-17/arch-arm
/ -fno -short- enums - march = ARMv7 -a - mfloat - abi = softfp - MFPU = vfpv3 - d16 - DANDROID -I./libs/armeabi-v7a -I./src -I…/…/…/addons/ofxAndroid/src -I … / … /… / addons / ofxAccelerometer / src -I…/…/…/addons/ofxOpenCv/src -I…/…/…/addons/ofxOpenCv/libs -I … / … / . .
/ addons / ofxOpenCv / libs / opencv
-I…/…/…/addons/ofxOpenCv/libs/opencv/include
-I…/…/…/addons/ofxOpenCv/libs/opencv/include / opencv
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/calib3d -I. ./…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/contrib
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/core -I … / …/…/addons/ofxOpenCv/libs/opencv/include/opencv2/features2d
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/flann -I … /
… /
…/addons/ofxOpenCv/libs/opencv/include/opencv2/gpu
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/highgui -I … /
… / . ./addons/ofxOpenCv/libs/opencv/include/opencv2/imgproc
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/legacy -I … /
… / … / addons/ofxOpenCv/libs/opencv/include/opencv2/ml
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/objdetect
-I…/…/…/addons / ofxOpenCv/libs/opencv/include/opencv2/ts
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/video
-I…/…/…/addons/ofxOpenCv / libs / opencv / lib -I…/…/…/addons/ofxOpenCv/libs/opencv/lib/android -I…/…/…/addons/ofxOpenCv/libs/opencv/lib/android / -I…/…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a -I…/…/…/addons/ofxOpenCv/libs/opencv/include armeabi -I. .
/… /… / addons / ofxOpenCv / libs / opencv / include / opencv
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2 -I … / … / . ./addons/ofxOpenCv/libs/opencv/include/opencv2/calib3d
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/contrib -I … /
… / … / addons/ofxOpenCv/libs/opencv/include/opencv2/core
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/features2d
-I…/…/…/addons / ofxOpenCv/libs/opencv/include/opencv2/flann
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/gpu
-I…/…/…/addons/ofxOpenCv / libs/opencv/include/opencv2/highgui
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/imgproc
-I…/…/…/addons/ofxOpenCv/libs / opencv/include/opencv2/legacy
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/ml
-I…/…/…/addons/ofxOpenCv/libs/opencv / include/opencv2/objdetect
-I…/…/…/addons/ofxOpenCv/libs/opencv/include/opencv2/ts
-I…/…/…/addons/ofxOpenCv/libs/opencv/include / opencv2/video
-I…/…/…/addons/ofxARtoolkitPlus/src
-I…/…/…/addons/ofxARtoolkitPlus/libs
-I…/…/…/addons/ofxARtoolkitPlus / libs
/ ARToolKitPlus
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/include
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/include/ARToolKitPlus
-I … / .
. /… / addons / ofxARtoolkitPlus / libs / ARToolKitPlus / include /
ARToolKitPlus / Extra
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/lib -I … / … /
… / addons
/ ofxARtoolkitPlus / libs / ARToolKitPlus / lib / android
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/lib/linux
-I…/…/…/addons/ofxARtoolkitPlus/libs / ARToolKitPlus/lib/linux64
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/lib/linuxarmv6l
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/lib/linuxarmv7l - I.
. /… /… / addons / ofxARtoolkitPlus / libs / ARToolKitPlus / lib /
osx -I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/lib/win32 -I
… / … /…
/ addons / ofxARtoolkitPlus / libs / ARToolKitPlus / include
-I…/…/…/addons/ofxARtoolkitPlus/libs/ARToolKitPlus/include/ARToolKitPlus
-I…/…/…/addons/ofxARtoolkitPlus / libs
/ ARToolKitPlus / include / ARToolKitPlus / extra- I " /
users/userloco/desktop/android/android-ndk-r9c/platforms/android-17/arch-arm
/ / usr / include / " -I " / users / userloco /
desktop/android/android-ndk-r9c/sources/cxx-stl/gnu-libstdc + + /
include " -I" /
users/userloco/desktop/android/android-ndk-r9c/sources/cxx-stl/gnu-libstdc

    • /
      4.8/include "
      -I"/users/userloco/desktop/android/android-ndk-r9c/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include"

-I"/users/userloco/desktop/android/android-ndk-r9c/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include"
-I
" /
users/userloco/desktop/android/android-ndk-r9c/sources/crystax/include /
" -I " … /. . /… / Libs / glu / include_android " -I " … / . . /… / addons / ofxAndroid / src " -I…/…/…/libs/FreeImage/include -I…/…/…/libs/freetype/include -I … / … /
…/libs/freetype/include/freetype2
-I…/…/…/libs/freetype/include/freetype2/freetype
-I…/…/…/libs/freetype/include/freetype2 / freetype
/ config -I…/…/…/libs/freetype/include/freetype2/freetype/internal
-I…/…/…/libs/freetype/include/freetype2/freetype/internal/services - . . . . . I. / / / libs / GLFW / include -I…/…/…/libs/glfw/include/GLFW -I…/…/…/libs/openssl/include - . . . . . I. / / / libs / openssl / include / openssl -I…/…/…/libs/poco/include -I…/…/…/libs/tess2/include - I. . /… /… / libs / openFrameworks -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/app -I … / .
. /… / libs / openFrameworks / communication
-I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/gl
-I … / … /… / libs / openFrameworks / graphics -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/sound -I … / … / . .
/ libs / openFrameworks / types -I…/…/…/libs/openFrameworks/utils
-I…/…/…/libs/openFrameworks/video -MMD -MP- MF … / … /

…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.d
-MT … /
…/…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.o

  • o … /
    …/…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.o
    -c … / . . /… / addons / ofxARtoolkitPlus / src /
    ofxARToolkitPlus.cpp
    Linking libs/armeabi-v7a/libOFAndroidApp.so for android/armeabi-v7a
    /users/userloco/desktop/android/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++
    -o
    libs/armeabi-v7a/libOFAndroidApp.so
    obj/android/armv7/Release/src/main.o
    obj/android/armv7/Release/src/testApp.o … / . . /… / addons / obj / android/armv7/Release/ofxAndroid/src/ofAppAndroidWindow.o
    … /
    …/…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidAccelerometer.o
    … / . . /… / addons / obj/android/armv7/Release/ofxAndroid/src/ofxAndroidGPS.o
    … /
    …/…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidLogChannel.o
    … / … / … / addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidSoundPlayer.o
    … /
    …/…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidSoundStream.o
    … / … / . ./addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidUtils.o
    … /
    …/…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVibrator.o
    … / … /

…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVideoGrabber.o
… /
…/…/addons/obj/android/armv7/Release/ofxAndroid/src/ofxAndroidVideoPlayer.o
… / …/…/addons/obj/android/armv7/Release/ofxAccelerometer/src/ofxAccelerometer.o
… /
…/…/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvColorImage.o .
./…/…/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvContourFinder.o
… /
…/…/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvFloatImage . o
… /
…/…/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvGrayscaleImage.o
… / …/…/addons/obj/android/armv7/Release/ofxOpenCv/src / ofxCvHaarFinder.o
… / …/…/addons/obj/android/armv7/Release/ofxOpenCv/src/ofxCvImage.o
… / …/…/addons/obj/android/armv7/Release/ofxOpenCv / src
/ ofxCvShortImage.o … /
…/…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.o
… / …/…/libs/openFrameworksCompiled/lib/android/armv7 / libopenFrameworks.a
… /
…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_legacy.a
… / . . /… / addons / ofxOpenCv / libs / opencv / lib / android/armeabi-v7a/libopencv_calib3d.a
… /
…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_features2d.a
… / . . /… / addons / ofxOpenCv / libs/opencv/lib/android/armeabi-v7a/libopencv_objdetect.a
… /
…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_video.a
… / … / . ./addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_imgproc.a
… /
…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_highgui.a
. ./…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_ml.a
… / …/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi- v7a/libopencv_core.a
… /
…/…/addons/ofxOpenCv/libs/opencv/lib/android/armeabi-v7a/libopencv_flann.a
… / . . /… / addons / ofxOpenCv / libs / opencv / lib/android/armeabi-v7a/libopencv_contrib.a

  • sysroot = /
    users/userloco/desktop/android/android-ndk-r9c/platforms/android-17/arch-arm
    / - nostdlib
    -L"/users/userloco/desktop/android/android-ndk-r9c/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a"
    -Wl,
  • fix- cortex- a8 -shared- Wl , - no- undefined- Wl, - as- needed- Wl, -
    . . . . Gc- sections … / / / libs / FreeImage / lib /
    android/armeabi-v7a/libfreeimage.a … /
    …/…/libs/freetype/lib/android/armeabi-v7a/libfreetype.a … / . . /… /
    libs / glu / lib / android /
    armeabi-v7a/libGLU.a … /
    …/…/libs/tess2/lib/android/armeabi-v7a/libtess2.a … / . . /… / libs /
    little / lib / android / armeabi -v7a/libPocoNetSSL.a … / …/…/libs/poco/lib/android/armeabi-v7a/libPocoNet.a … / …/…/libs/poco/lib/android/armeabi-v7a /
    libPocoCrypto.a … /
    …/…/libs/poco/lib/android/armeabi-v7a/libPocoUtil.a … /
    …/…/libs/poco/lib/android/armeabi-v7a/libPocoXML . a … / …/…/libs/poco/lib/android/armeabi-v7a/libPocoFoundation.a … / …/…/libs/openssl/lib/android/armeabi-v7a/libssl.a …/…/…/libs/openssl/lib/android/armeabi-v7a/libcrypto.a - lOpenSLES -
    lsupc + ± lz- lGLESv1_CM - lGLESv2 - LLOG -ldl -lm -lc - lgcc -
    lgnustl_static
    …/…/…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.o:ofxARToolkitPlus.cpp:function ofxARToolkitPlus
    :: setup (int , int , std :: string , std :: string , int , int , int ,
    int , int ): error : undefined reference to ’ ARToolKitPlus ::
    TrackerMultiMarker :: TrackerMultiMarker (int , int , int, int , int , int , int) ’
    …/…/…/addons/obj/android/armv7/Release/ofxARtoolkitPlus/src/ofxARToolkitPlus.o:ofxARToolkitPlus.cpp:function ofxARToolkitPlus :: setup (int , int , std :: string , std :: string ,
    int , int , int , int , int ): error : undefined reference to ’
    ARToolKitPlus :: Camera :: printSettings ()’
    collect2 : error : ld returned 1 exit status
    make [1 ] : *** [ libs/armeabi-v7a/libOFAndroidApp.so ] Error 1
    make: *** [ Release] Error 2

I need the static library compiled for android ?
as I can compile it ?

Thanks for share.

PD/:
using :
openframewworks 0.8.1 release for android
last android adt:
ndk r9c and r9d

mac os 10.8.5