facebookarchive / AICamera

Demonstration of using Caffe2 inside an Android application.
Other
348 stars 135 forks source link

new version compile failed #22

Open bandabouse opened 7 years ago

bandabouse commented 7 years ago

Thanks for propose a caffe2 android demo, But it can't pass the build and compile step when this project passed to new verison. It always has a link problem. So I ask for the previous version which includes the build and compile step in android studio by source code, and I had tested it, it works. If it has a link or something to go to the old version, thank you.@bwasti

bwasti commented 7 years ago

would you mind pasting the output of the build error?

The goal here is to use caffe2 as a prebuilt dependency. Try downloading caffe2 and running ./scripts/build_android.sh

bandabouse commented 7 years ago

@bwasti Here is the prompt FAILURE: Build failed with an exception.

I have tried ./scritps/build_android.sh and integrated by android.mk in my app, But it seems the same problem, the undefined reference 'atof' ... The only version that run well is the previous one who do the compile and build in gradle. I can't understand what happened. By the way, I use android 18.