Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndk build clapack error #6

Open
myBestLove opened this issue May 15, 2017 · 0 comments
Open

ndk build clapack error #6

myBestLove opened this issue May 15, 2017 · 0 comments

Comments

@myBestLove
Copy link

myBestLove commented May 15, 2017

`/home/jason/workspace/AndroidStudioProjects/ORBSLAM2/app/src/main/jni/Thirdparty/clapack/TESTING/MATGEN/f2c.h
Error:(1, 1) error: expected identifier or '('
../../INCLUDE/f2c.h
^
static integer c__4 = 4;
^
static integer c__12 = 12;
^
static integer c__8 = 8;
^
static integer c__40 = 40;
^
static integer c__2 = 2;
^
static integer c__3 = 3;
^
static integer c__60 = 60;
^
/* Subroutine */ int dlatm6_(integer *type__, integer *n, doublereal a,
^
/
Subroutine */ int dlatm6_(integer *type__, integer *n, doublereal a,
^
/
Subroutine */ int dlatm6_(integer *type__, integer *n, doublereal *a,
^
integer *lda, doublereal *b, doublereal *x, integer *ldx, doublereal *
^
integer *lda, doublereal *b, doublereal *x, integer *ldx, doublereal *
^
integer *lda, doublereal *b, doublereal *x, integer *ldx, doublereal *
^
integer *lda, doublereal *b, doublereal *x, integer *ldx, doublereal *
^
integer *lda, doublereal *b, doublereal *x, integer *ldx, doublereal *
^
y, integer *ldy, doublereal *alpha, doublereal *beta, doublereal *wx,
^
y, integer *ldy, doublereal *alpha, doublereal *beta, doublereal *wx,
^
/home/jason/workspace/AndroidStudioProjects/ORBSLAM2/app/src/main/jni/Thirdparty/clapack/TESTING/MATGEN/dlatm6.c
Error:(19, 8) error: unknown type name 'integer'
Error:(20, 8) error: unknown type name 'integer'
Error:(21, 8) error: unknown type name 'integer'
Error:(22, 8) error: unknown type name 'integer'
Error:(23, 8) error: unknown type name 'integer'
Error:(24, 8) error: unknown type name 'integer'
Error:(25, 8) error: unknown type name 'integer'
Error:(27, 30) error: unknown type name 'integer'
Error:(27, 47) error: unknown type name 'integer'
Error:(27, 59) error: unknown type name 'doublereal'
Error:(28, 2) error: unknown type name 'integer'
Error:(28, 16) error: unknown type name 'doublereal'
Error:(28, 31) error: unknown type name 'doublereal'
Error:(28, 46) error: unknown type name 'integer'
Error:(28, 60) error: unknown type name 'doublereal'
Error:(29, 5) error: unknown type name 'integer'
Error:(29, 19) error: unknown type name 'doublereal'
Error:(29, 38) error: unknown type name 'doublereal'
y, integer *ldy, doublereal *alpha, doublereal *beta, doublereal *wx,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [/home/jason/workspace/AndroidStudioProjects/ORBSLAM2/app/build/intermediates/ndk/debug/obj/local/armeabi-v7a/objs/ORBSLAM2JNI//home/jason/workspace/AndroidStudioProjects/ORBSLAM2/app/src/main/jni/Thirdparty/clapack/TESTING/MATGEN/dlatm6.o] Error 1
Error:Execution failed for task ':app:compileDebugNdk'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/jason/program/android-ndk-r14b/ndk-build'' finished with non-zero exit value 2`

how to solve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant