[Issue] with a record of ndk command line gcc can not compile lambda C ++ 11 code syntax, etc.

/Users/ahfu/code/android/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc-4.9.x -pie -fPIC -g --sysroot=/Users/ahfu/code/android/android-ndk-r14b/platforms/android-22/arch-arm/ -std=c++11 -o kcf.o -c kcf.cpp -I"/Users/ahfu/code/android/OpenCV-android-sdk/sdk/native/jni/include" -I"/Users/ahfu/code/android/android-ndk-r14b/sources/cxx-stl/gnu-libstdc++/4.9/include" -I"/Users/ahfu/code/android/android-ndk-r14b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/" -I"piotr_fhog/" -I"cn/"
kcf.cpp: In member function 'void KCF_Tracker::track(cv::Mat&)':
kcf.cpp:172:22: error: invalid use of incomplete type 'class std::future<cv::Mat>'
                     });
                      ^
In file included from kcf.cpp:4:0:


Not yet searched for how to compile the article.

Guess you like

Origin www.cnblogs.com/ahfuzhang/p/10951522.html