Open zhangshexin opened 5 years ago
找不到native-lib是你没申明
ndk {
moduleName "native-lib"
abiFilters "armeabi-v7a"
}
不过这个demo还存在其他的问题,折腾了小半天才运行起来
找不到native-lib是你没申明
ndk { moduleName "native-lib" abiFilters "armeabi-v7a" }
不过这个demo还存在其他的问题,折腾了小半天才运行起来
你好 请问error(): OpenCV(4.4.0) Error: Assertion failed (buf) in open, file /build/master_pack-android/opencv/modules/core/src/persistence.cpp, line 706这个错误怎么回事
native-lib.so找不到啊,编译还报错
In file included from /Users/qbq_wzk/zhangshexin/androidStudio/OpenCVDemo-master/app/src/main/cpp/native-lib.cpp:3: In file included from /Users/qbq_wzk/zhangshexin/androidStudio/OpenCVDemo-master/app/src/main/cpp/include/opencv2/opencv.hpp:52: In file included from /Users/qbq_wzk/zhangshexin/androidStudio/OpenCVDemo-master/app/src/main/cpp/include/opencv2/core.hpp:52: /Users/qbq_wzk/zhangshexin/androidStudio/OpenCVDemo-master/app/src/main/cpp/include/opencv2/core/cvdef.h:666:4: error: "OpenCV 4.x+ requires enabled C++11 support" \# error "OpenCV 4.x+ requires enabled C++11 support" ^