Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

Unable to build NDK error #58

@Murtowski

Description

@Murtowski

Hello I can build apk.
While compiling the error is:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:externalNativeBuildDebug'.
[...]
Caused by: org.gradle.internal.UncheckedException: Build command failed.
[...]
Error while executing process /Users/xxxi/Library/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {--build /Users/xxx/StudioProjects/AICamera/app/.externalNativeBuild/cmake/debug/armeabi-v7a --target native-lib}
[1/1] Linking CXX shared library ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-lib.so
[...]
error: undefined reference to 'caffe2::Predictor::run(std::__ndk1::vector<caffe2::Tensor<caffe2::CPUContext>*, std::__ndk1::allocator<caffe2::Tensor<caffe2::CPUContext>*> > const&, std::__ndk1::vector<caffe2::Tensor<caffe2::CPUContext>*, std::__ndk1::allocator<caffe2::Tensor<caffe2::CPUContext>*> >*)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions