artoolkitx / artoolkit5

ARToolKit v5.x
Other
108 stars 29 forks source link

android ARMovie Project arm64-v8a complie problem #170

Open broken2300 opened 5 years ago

broken2300 commented 5 years ago

Hello guys, i want to test the ARMovie example on arm64-v8a devices. However, there are some errors in the project.

D:/code/artoolkit5src/artoolkit5-master/AndroidStudioProjects/ARMovieProj/aRMovi e/src/main/jni/ARMovie.cpp:370:26: error: use of undeclared identifier 'AR_VIDEO_PARAM_ANDROID_WIDTH' ar2VideoSetParami(gVid, AR_VIDEO_PARAM_ANDROID_WIDTH, videoWidth); ^ D:/code/artoolkit5src/artoolkit5-master/AndroidStudioProjects/ARMovieProj/aRMovi e/src/main/jni/ARMovie.cpp:371:26: error: use of undeclared identifier 'AR_VIDEO_PARAM_ANDROID_HEIGHT' ar2VideoSetParami(gVid, AR_VIDEO_PARAM_ANDROID_HEIGHT, videoHeight); ^ D:/code/artoolkit5src/artoolkit5-master/AndroidStudioProjects/ARMovieProj/aRMovi e/src/main/jni/ARMovie.cpp:372:26: error: use of undeclared identifier 'AR_VIDEO_PARAM_ANDROID_PIXELFORMAT' ar2VideoSetParami(gVid, AR_VIDEO_PARAM_ANDROID_PIXELFORMAT, (int... ^ D:/code/artoolkit5src/artoolkit5-master/AndroidStudioProjects/ARMovieProj/aRMovi e/src/main/jni/ARMovie.cpp:415:2: error: use of undeclared identifier 'arglCameraFrustumRHf' arglCameraFrustumRHf(&gCparamLT->param, NEAR_PLANE, FAR_PLANE, c... ^ D:/code/artoolkit5src/artoolkit5-master/AndroidStudioProjects/ARMovieProj/aRMovi e/src/main/jni/ARMovie.cpp:684:13: error: use of undeclared identifier 'arglCameraViewRHf' arglCameraViewRHf(markersNFT[i].trans, markersNFT[i].pose.T... ^

Can anyone help?

broken2300 commented 5 years ago

In addition, i have built the so file in android folder with the help of build shell.