the jni build result is on below. two positions reported. how can i fix this issue? @sh1r0
[armeabi-v7a] Install : libcaffe.so => libs/armeabi-v7a/libcaffe.so
[armeabi-v7a] Compile++ thumb: caffe_jni <= caffe_jni.cpp
In file included from jni/../android_lib/protobuf/include/google/protobuf/stubs/port.h:62:0,
from jni/../android_lib/protobuf/include/google/protobuf/stubs/common.h:40,
from jni/../android_lib/caffe/include/caffe/proto/caffe.pb.h:9,
from jni/../android_lib/caffe/include/caffe/blob.hpp:9,
from jni/../android_lib/caffe/include/caffe/caffe.hpp:7,
from jni/caffe_jni.cpp:13:
F:/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/param.h:45:0: warning: "MIN" redefined
#define MIN(a,b) (((a)
^
In file included from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core.hpp:52:0,
from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/core.hpp:48,
from jni/caffe_jni.cpp:9:
jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/cvdef.h:443:0: note: this is the location of the previous definition
define MIN(a,b) ((a) > (b) ? (b) : (a))
^
In file included from jni/../android_lib/protobuf/include/google/protobuf/stubs/port.h:62:0,
from jni/../android_lib/protobuf/include/google/protobuf/stubs/common.h:40,
from jni/../android_lib/caffe/include/caffe/proto/caffe.pb.h:9,
from jni/../android_lib/caffe/include/caffe/blob.hpp:9,
from jni/../android_lib/caffe/include/caffe/caffe.hpp:7,
from jni/caffe_jni.cpp:13:
F:/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/param.h:46:0: warning: "MAX" redefined
#define MAX(a,b) (((a)>(b))?(a):(b))
^
In file included from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core.hpp:52:0,
from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/core.hpp:48,
from jni/caffe_jni.cpp:9:
jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/cvdef.h:447:0: note: this is the location of the previous definition
define MAX(a,b) ((a) < (b) ? (b) : (a))
^
[armeabi-v7a] Compile++ thumb: caffe_jni <= caffe_mobile.cpp
[armeabi-v7a] SharedLibrary : libcaffe_jni.so
jni/caffe_jni.cpp:65: error: undefined reference to 'openblas_set_num_threads'
jni/caffe_mobile.cpp:64: error: undefined reference to 'caffe::Net::Net(std::string const&, caffe::Phase, int, std::vector<:string std::allocatorstd::string> const_, caffe::Net const_)'
collect2.exe: error: ld returned 1 exit status
make.exe: *** [obj/local/armeabi-v7a/libcaffe_jni.so] Error 1
10:24:33 Build Finished (took 12s.73ms)