jogjech / slamit_ORBSLAM2_on_Android

Due to personal tech stack change, I'm focusing more on Web and backend dev instead of Mechanical Engineering. Thus this repository will not be maintained. Feel free to fork and change whatever you want. :)
95 stars 34 forks source link

ndk build clapack error #5

Open myBestLove opened 7 years ago

myBestLove commented 7 years ago

when I build clapck , some .h file need to add #include , then I run and had errors

Error:(1153, 5) error: invalid operands to binary expression ('integer ' (aka 'long ') and 'integer' (aka 'long'))

Error:Execution failed for task ':app:compileDebugNdk'.

com.android.ide.common.process.ProcessException: Error while executing process /home/jason/program/android-SDK/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/jason/workspace/AndroidStudioProjects/lapack/app/build/intermediates/ndk/debug/Android.mk APP_PLATFORM=android-10 NDK_OUT=/home/jason/workspace/AndroidStudioProjects/lapack/app/build/intermediates/ndk/debug/obj NDK_LIBS_OUT=/home/jason/workspace/AndroidStudioProjects/lapack/app/build/intermediates/ndk/debug/lib APP_ABI=all}

clapack/testing/lin/sdrvgbx.c : 1153

how to fix it ? thanks