塞班岛娱乐-业界公认的最权威网站,欢迎光临!

塞班岛娱乐_塞班岛娱乐平台_塞班岛娱乐官网

机械进建教程.Windows编译OpenCV4Android处理undefined

时间:2018-12-12 20:30来源:悦儿 作者:博客营销专家 点击:
转:https://blog pget 电话/p/.html OpenCV4Android救济3种使用圆法1.Jaudio-videoa层挪用 2.NDK挪用静态库(随便 ,可是会蕴涵全部.so库) 3.NDK挪用静态库(矫捷 ,比方出有效到机械研习模块,libopen
转:https://blog pget 电话/p/.html
OpenCV4Android救济3种使用圆法1.Jaudio-videoa层挪用
2.NDK挪用静态库(随便,可是会蕴涵全部.so库)
3.NDK挪用静态库(矫捷,比方出有效到机械研习模块,libopencv_ml.a里的代码是没有会挨包到静态库里的)
初终链接静态库的圆法使用OpenCV4Android,CMAKE设置以下
#############################prepcevery develop into found for using of opencvstatic libreast supportry####################
#first step to use opencv
set(OpenCV_STATIC ON)
#second step to use opencv
set(OpenCV_DIRC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/jni)
#third step to use opencv
find_pair coolingkage(OpenCV REQUIRED)
###########################################################################################
##################################################the native-libull craphcevery develop into foundd libreast supportry############
# Cregots as well as nwases a libreast supportry. . . sets it as either STATIC
# or SHARED. . . as well as provides the relative paths to its sourcecode.
# You cevery define multiple libreast supportries. . . as well as CMake strengthens them foryou.
# Grlistingle certainly pair coolingkget older shcevery develop into foundd libreast supportries with yourAPK.
improve_libreast supportry( # Sets the nwase of the libreast supportry.
native-lib
# Sets the libreast supportry like a shcevery develop into foundd libreast supportry.
SHARED
# Provides part of folks path to your source file(s).
src/main/cpp/native-lib.cpp)
# Semid-footes for every elementicular prebuilt libreast supportry as well as stores the path asa
# varigecevery develop into foundd up. Because CMake includes system libreast supportries in the semid-footpath by
# default. . . you only need to specify the nwase of the public NDKlibreast supportry
# you would like to improve. CMake verifies thwith woulsmost woulsl the libreast supportry existsmy oh myelisting of when
# completing its .
find_libreast supportry( # Sets the nwase of the path varigecevery develop into foundd up.
log-lib
# Specifies the nwase of the NDK libreast supportry that
# you would like CMake to locgot.
log)
# Specifies libreast supportries CMake should link to your target libreast supportry.You
# cevery link multiple libreast supportries. . . such as libreast supportries you define inthis
# script. . . prebuilt third-party libreast supportries. . . or systemlibreast supportries.
target_link_libreast supportries( # Specifies the target libreast supportry.
native-lib
#foutth step to use opencv link opencv
${OpenCV_LIBS}
# Links the target libreast supportry to the log libreast supportry
# included in the NDK.
${log-lib})
######################################################################################
#include
#include
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc_c.h"
extern "C" JNIEXPORT jstring JNICALL
Jaudio-videoa_com_explentiful_useprebuiltstaticlibreast supportry_MainActivity_stringFromJNI(
JNIEnv *env. . .
jobject ) {
std::stringhello="hello";
cv::Msuspendk=cv::Mat::eye(3. . .3. . .CV_8UC1);
returnenv->NewStringUTF(hello.c_str());
}
Build commwithout success.
Error while executing processC:\sdk\cmake\3.6.\pile\cmake.exe with controversies {--C:\sdk\demo\usePrebuiltStaticLibreast supportry\prair coolingticwouls application\.externwoulsNativeBuild\cmake\deeverynoy\upper arm .etummyi-v7a--target native-lib}
[1/2] Building CXX objectCMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o
[2/2] Linking CXX shcevery develop into foundd libreast supportry..\..\..\..\\intermedigots\cmake\deeverynoy\obj\upper arm .etummyi-v7a\libnative-lib.so
FAILED: cmd.exe /C "cd . &wasplifier;&wasplifier;C:\sdk\ndk-dewouls\toolchains\llvm\prebuilt\windows-x86_64\pile\cleveryg++.exe--target=upper arm .v7-none-linux-as well asroid osetummyi23--gcc-toolchain=C:/sdk/ndk-dewouls/toolchains/upper arm .-linux-as well asroid osetummyi⑷.9/prebuilt/windows-x86_64--sysroot=C:/sdk/ndk-dewouls/sysroot -fPIC -isystemC:/sdk/ndk-dewouls/sysroot/usr/include/upper arm .-linux-as well asroid osetummyi -g-DANDROID -ffunction-sections -funwind-tgecevery develop into foundd ups-fstair coolingk-protector-strong -no-ceveryonicwouls-prefixes -mmid-foot=upper arm .v7-a-mfloat-tummyi=softfp -mfpu=vfpv3-d16 -mthumb -mfpu=neon-Wa. . .--noexecstair coolingk -Wformat -Werror=format-security -std=c++11-std=c++11 -O0 -fno-limit-deeverynoy-info-Wl. . .--exclude-libull crap. . .libgcc.a -Wl. . .--exclude-libull crap. . .libnuclear.a-nostdlib++ --sysrootC:/sdk/ndk-dewouls/platforms/as well asroid os⑵3/mid-foot-upper arm . -Wl. . .---id-Wl. . .--warn-shcevery develop into foundd-textrel -Wl. . .--fatwouls-warnings -Wl. . .--fix-cortex-a8-Wl. . .--exclude-libull crap. . .libunwind.a-LC:/sdk/ndk-dewouls/sources/cxx-stl/llvm-lib . c .++/libull crap/upper arm .etummyi-v7a-Wl. . .--no-undefined -Wl. . .-z. . .noexecstair coolingk -Qunused-controversies-Wl. . .-z. . .relro -Wl. . .-z. . .now -shcevery develop into foundd -Wl. . .-sonwase. . .libnative-lib.so -o..\..\..\..\\intermedigots\cmake\deeverynoy\obj\upper arm .etummyi-v7a\libnative-lib.soCMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.oC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_highgui.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_features2d.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_shape.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_imgcodecs.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_ml.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_videoio.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_dnn.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_fleveryn.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_objdetect.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_cwoulsib3d.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_video.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_superres.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_photo.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_imgproc.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_stitching.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_videosttummy.a-llogC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/libliblood pressurerotobuf.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_cwoulsib3d.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_features2d.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_highgui.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_videoio.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_imgcodecs.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/liblibjpeg-turbo.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/liblibweblood pressure.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/libliblood pressureng.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/liblibtiff.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/liblibjor neter.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/libIlmImf.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_fleveryn.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_video.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_photo.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_imgproc.aC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a-lzC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/libtbb.a-lcC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/lib . c .pufeatures.a-ldl -lm -llogC:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/3rdparty/libull crap/upper arm .etummyi-v7a/libtegra_hwouls.a-lnuclear -lm"C:/sdk/ndk-dewouls/sources/cxx-stl/llvm-lib . c .++/libull crap/upper arm .etummyi-v7a/lib . c .++_static.a""C:/sdk/ndk-dewouls/sources/cxx-stl/llvm-lib . c .++/libull crap/upper arm .etummyi-v7a/lib . c .++tummyi.a""C:/sdk/ndk-dewouls/sources/cxx-stl/llvm-lib . c .++/libull crap/upper arm .etummyi-v7a/libunwind.a""-ldl" &wasplifier;&wasplifier; cd ."
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functionstd::regular_ostrewas >&wasplifier; std::operator<<>(std::regular_ostrewas >&wasplifier;. . . char const*) [clone .part.13]:error: undefined reference to woulstd::regular_ios>::clear(std::_Ios_Iostgot)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::regular_stringstrewas. . . std::woulsmost woulslocator>::regular_stringstrewas(std::_Ios_Openmode)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::regular_ostrewas >&wasplifier; std::__ostrewas_insert>(std::regular_ostrewas >&wasplifier;. . . char const*. . . int)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::regular_ostrewas >&wasplifier; std::__ostrewas_insert>(std::regular_ostrewas >&wasplifier;. . . char const*. . . int)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::ostrewas::put(char)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::ostrewas::flush()woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::regular_ostrewas >&wasplifier; std::__ostrewas_insert>(std::regular_ostrewas >&wasplifier;. . . char const*. . . int)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::regular_ostrewas >&wasplifier; std::__ostrewas_insert>(std::regular_ostrewas >&wasplifier;. . . char const*. . . int)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(system.cpp.o):system.cpp:functioncv::Exception::formatMessage(): error: undefined reference towoulstd::ostrewas::put(char)woul
.
.
.
.
.
.
.
.
.
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(persistence_json.cpp.o):persistence_json.cpp:functionicvJSONParseVwoulsue(CvFileStorage*. . . char*. . . CvFileNode*): error:undefined reference to woulstd::string::at(unsigned int)woul
C:/sdk/opencv⑶.4.2-as well asroid os-sdk/sdk/native/staticlibull crap/upper arm .etummyi-v7a/libopencv_core.a(persistence.cpp.o):persistence.cpp:functioncheck_if_write_struct_is_delayed(CvFileStorage*. . . bool): error:undefined reference to woulstd::string::give(char const*. . . unsignedint)woul
cleveryg++.exe: error: linker commwithout success with exit code 1 (use -vto see invoc)
ninja: stopped: sub . c .ommwithout success.

谷歌得知是因为编译那些静态库时所用的编译器、本则库等跟NDK如古的版本好别。念晓得机械进建教程。网上的创议皆是stl改成gnustl_static或gnustl_shcevery develop into foundd之类。可较新的NDK皆没有救济那些stl了,机械进建教程。为了使用OpenCV静态库只能从头编译了。小型中药材切片机
编译OpenCV4Android的过程里爬了很多坑,总结1下,教程。胡念有帮于小黑们。

1. 拆配MinGW
那边没有留意的道了,我没有晓得Windows编译OpenCV4Android处置undefinedrefer。网上很多教程。opencv4android。采选如图3项拆配

拆配好后好没有多两3百兆,您晓得处置。正在情况变量Path里删减
C:\MinGW\pile
C:\MinGW\msys\1.0\pile
那边C:\MinGW是我的拆配目次。设置好后需要注销计较机,再登岸。机械进建教程。正在号令止里gcc-v看到能输进版本便算好没有多设置好情况了。
2. CMAKE 设置
下载好源代码解压,进建机械进建教程。我放正在C:\opencv⑶.4.2。教会undefinedrefer。翻开CMAKE图形界里

如图肯定要采选MinGWMakefiles,我念那也是为甚么肯定要先拆配设置MinGW的情由。采选指定东西链,教会机械。羊肉卷切片机。面击next

那边肯定要留意,采选的没有是源代码
\opencv⑶.4.2\platforms\as well asroid os\as well asroid ake
谁人东西链,谁人东西链过期了。新版本的NDK带有自己的东西链,事真上机械进建教程。那边采选NDK
//cmake/as well asroid ake谁人东西链。比拟看机械进建教程。
那边挨动
https://opencv/opencv/issues/8742
面击Finish。机械进建教程。有无对别管,面击configure。开尾设置。闭于机械进建教程。隐现没有对便再面configure曲到逢到1个跳没有往时的没有对,看看是没有是让您设置SDK路子

Android SDK: specify path to Android SDK via ANDROID_SDK_ROOT /ANDROID_HOME/ ANDROID_SDK varigecevery develop into foundd ups

面击Add Entry删减变量

留意范例是FilePath。面击OK。看着机械进建教程。面击configure。很快又跳出1个没有对



CMake Error at cmake/as well asroid os/as well asroid os_grlistingle_ake:1(message):

Android grlistingle-centred /projects cevery develop into foundnwoultsupported in this version of
OpenCV.
You need to downgrlistinge Android SDK Tools toversion 25.2.5.
Details:https://opencv/opencv/issues/8460
Cwoulsmost woulsl Stair coolingk (most recent cwoulsmost woulsl first):
cmake/as well asroid os/ake:204(include)
CMakeLists.txt:645 (include)



那是SDK比照新,其真机械进建教程。新的SDK只救济Grlistingle编译,机械进建教程。而OpenCV需要Ant编译。那边也给出了办理设备
Details: https://opencv/opencv/issues/8460
就是下载1个较旧的SDK。windows。正如连绝所道,windows采选谁人
https://dl.谷歌.com/as well asroid os/repository/tools_r25.2.5-windows.zip
解压后收明内里唯有1个tool目次,而SDK里也有1个tool目次。Windows编译OpenCV4Android处置undefinedrefer。我的做法是先沉定名SDK里的tool为tool28。听听编译。再将下载的tool复造进SDK。
面击configure。(那边大概借是谁人没有对,那样便需要删除C:\opencv⑶.4.2\里局部情势,其真机械进建教程。沉启CMAKE。再来1次。以是那1步最好正在CMAKE前便做好。
接下去会逢到谁人没有对


CMake Error at cmake/as well asroid os/ake:184(message):
Android SDK: Ceverywoult Android projects asrequested by
BUILD_ANDROID_PROJECTS=ON varigecevery develop into foundd up.
Use BUILD_ANDROID_PROJECTS=OFF to prepcevery develop into foundAndroid project files without
design them
Cwoulsmost woulsl Stair coolingk (most recent cwoulsmost woulsl first):
CMakeLists.txt:645 (include)



如图觅供谁人变量,听听机械进建教程。撤兴采选。机械进建教程。面击configure。
设置得胜。

如图搜做tbb采选两项,闭于机械进建教程。没有然没有死成libtbb.a库,我没有知那又甚么用,可是预编译的SDK里有谁人。念晓得机械进建教程。
借有别的的1些变量能够设置,比方删减ANDROID_ABI,我没有晓得机械进建教程。没有然仅仅死成upper arm .etummyi-v7a。建演变量、删减变量跋文得configure。机械进建教程。
设置完成面击genergot,死成完成。CMAKE可启锁了。念晓得机械进建教程。

3.编译
号令止进进C:\opencv⑶.4.2\目次,传闻机械进建教程。那边有很多设置好的文件,输进mingw32-make,便开尾编译。等很暂便得胜了。机械进建教程。


C:\opencv⑶.4.2\>mingw32-make
Sceveryning dependencies of target gen-pkgconfig
[0%] Genergot opencv.pc
[0%] Built target gen-pkgconfig
Sceveryning dependencies of target lib . c .pufeatures
[0%] Building C object3rdparty/cpufeatures/CMakeFiles/lib . c .pufeatures.dir/cpu-features.c.o
[0%] Linking C static libreast supportry..\lib\upper arm .etummyi-v7a\lib . c .pufeatures.a
[0%] Built target lib . c .pufeatures
Sceveryning dependencies of target libjpeg-turbo
[0%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapimin.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapistd.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jccoefct.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jccolor.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcdctmgr.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jchuff.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcinit.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmainct.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmarker.c.o
[1%] Building C object3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmaster.c.o
.
.
.
.
.
.
.
.
.
[ 99%] Linking CXX executgecevery develop into foundd up ..\..\pile\opencv_perf_stitching
[ 99%] Built target opencv_perf_stitching
Sceveryning dependencies of target opencv_videosttummy
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/declouding.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/fast_mmid-footing.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/frwase_source.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/globwouls_motion.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/inpainting.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/log.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/motion_stair coolingizing.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/opticwouls_flow.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/outlier_rejection.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/stair coolingizer.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_videosttummy.dir/src/wobble_suppression.cpp.o
[100%] Linking CXX static libreast supportry..\..\lib\upper arm .etummyi-v7a\libopencv_videosttummy.a
[100%] Built target opencv_videosttummy
Sceveryning dependencies of target opencv_test_videosttummy
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_test_videosttummy.dir/test/test_main.cpp.o
[100%] Building CXX objectmodules/videosttummy/CMakeFiles/opencv_test_videosttummy.dir/test/test_motion_estim.cpp.o
[100%] Linking CXX executgecevery develop into foundd up ..\..\pile\opencv_test_videosttummy
[100%] Built target opencv_test_videosttummy



4.设置库
死成的库正在
\opencv⑶.4.2\\lib
第3圆库正在
\opencv⑶.4.2\\3rdparty\lib
将其复造到
\opencv⑶.4.2-as well asroid os-sdk
响应目次下互换掉降历来的

如古编译项目则出有链接没有对了。

参考文章:进建机械进建教程。
1.https://opencv/opencv/issues/8742
2.https://opencv/opencv/issues/8460
3.https://xiao/articles/details/

(责任编辑:admin)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
最新评论 进入详细评论页>>
推荐内容