赞
踩
解决办法更换4.6版
Executing tasks: [:app:clean, :app:assembleDebug] in project C:\Users\Administrator\Desktop\android-yolov8-bytetrack
> Task :app:externalNativeBuildCleanDebug
Clean yolov8Bytetrack-x86
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean
> Task :app:createDebugVariantModel
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:dataBindingMergeDependencyArtifactsDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:packageDebugResources
> Task :app:javaPreCompileDebug
> Task :app:checkDebugAarMetadata
> Task :app:mapDebugSourceSetPaths
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:parseDebugLocalResources
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:desugarDebugFileDependencies
> Task :app:checkDebugDuplicateClasses
> Task :app:compressDebugAssets
> Task :app:mergeDebugResources
> Task :app:configureCMakeDebug[arm64-v8a]
> Task :app:dataBindingGenBaseClassesDebug
> Task :app:processDebugManifestForPackage
> Task :app:mergeLibDexDebug
> Task :app:processDebugResources
> Task :app:mergeExtDexDebug
> Task :app:mergeDebugJavaResource
> Task :app:buildCMakeDebug[arm64-v8a]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\arm64-v8a'
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[arm64-v8a] FAILED
> Task :app:compileDebugJavaWithJavac
> Task :app:dexBuilderDebug
> Task :app:mergeProjectDexDebug
> Task :app:configureCMakeDebug[armeabi-v7a]
> Task :app:buildCMakeDebug[armeabi-v7a]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\armeabi-v7a'
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
C/C++: session, sequenceId, frameNumber);
C/C++: ^~~~~~~~~~~
C/C++: 1 warning generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[armeabi-v7a] FAILED
> Task :app:configureCMakeDebug[x86]
> Task :app:buildCMakeDebug[x86]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86'
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
C/C++: session, sequenceId, frameNumber);
C/C++: ^~~~~~~~~~~
C/C++: 1 warning generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[x86] FAILED
> Task :app:configureCMakeDebug[x86_64]
> Task :app:buildCMakeDebug[x86_64]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86_64'
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[x86_64] FAILED
> Task :app:mergeDebugJniLibFolders
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
FAILURE: Build completed with 4 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\arm64-v8a'
[1/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/lapjv.cpp.o
[2/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/ndkcamera.cpp.o
[3/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/yolo.cpp.o
[4/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
7 errors generated.
[5/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
[6/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
if (extend_cost || cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
if (cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
3 warnings and 7 errors generated.
[7/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/arm64-v8a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
[8/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/kalmanFilter.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
@echo off
"D:\\development\\Android\\sdk\\cmake\\3.22.1\\bin\\ninja.exe" ^
-C ^
"C:\\Users\\Administrator\\Desktop\\android-yolov8-bytetrack\\app\\.cxx\\Debug\\24153m3g\\arm64-v8a" ^
yolov8Bytetrack
from C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildCMakeDebug[armeabi-v7a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\armeabi-v7a'
[1/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/lapjv.cpp.o
[2/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/ndkcamera.cpp.o
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
session, sequenceId, frameNumber);
^~~~~~~~~~~
1 warning generated.
[3/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/yolo.cpp.o
[4/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
7 errors generated.
[5/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
if (extend_cost || cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
if (cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
3 warnings and 7 errors generated.
[6/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
1 warning and 7 errors generated.
[7/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
1 warning and 7 errors generated.
[8/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/kalmanFilter.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
@echo off
"D:\\development\\Android\\sdk\\cmake\\3.22.1\\bin\\ninja.exe" ^
-C ^
"C:\\Users\\Administrator\\Desktop\\android-yolov8-bytetrack\\app\\.cxx\\Debug\\24153m3g\\armeabi-v7a" ^
yolov8Bytetrack
from C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildCMakeDebug[x86]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86'
[1/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/lapjv.cpp.o
[2/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/ndkcamera.cpp.o
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
session, sequenceId, frameNumber);
^~~~~~~~~~~
1 warning generated.
[3/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/yolo.cpp.o
[4/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
7 errors generated.
[5/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
1 warning and 7 errors generated.
[6/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
if (extend_cost || cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
if (cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
3 warnings and 7 errors generated.
[7/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 2147483647L
^~~~~~~~~~~
1 warning and 7 errors generated.
[8/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/kalmanFilter.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
@echo off
"D:\\development\\Android\\sdk\\cmake\\3.22.1\\bin\\ninja.exe" ^
-C ^
"C:\\Users\\Administrator\\Desktop\\android-yolov8-bytetrack\\app\\.cxx\\Debug\\24153m3g\\x86" ^
yolov8Bytetrack
from C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:buildCMakeDebug[x86_64]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86_64'
[1/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/lapjv.cpp.o
[2/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/ndkcamera.cpp.o
[3/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/yolo.cpp.o
[4/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
7 errors generated.
[5/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
[6/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
if (extend_cost || cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
if (cost_limit < LONG_MAX) {
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
3 warnings and 7 errors generated.
[7/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
FAILED: CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o
D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
return policy->type() == typeid(anyimpl::empty_any);
^
D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
return policy->type() == typeid(T);
^
In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
~ ^~~~~~~~
D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
#define LONG_MAX __LONG_MAX__
^~~~~~~~~~~~
<built-in>:97:22: note: expanded from here
#define __LONG_MAX__ 9223372036854775807L
^~~~~~~~~~~~~~~~~~~~
1 warning and 7 errors generated.
[8/9] Building CXX object CMakeFiles/yolov8Bytetrack.dir/kalmanFilter.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
@echo off
"D:\\development\\Android\\sdk\\cmake\\3.22.1\\bin\\ninja.exe" ^
-C ^
"C:\\Users\\Administrator\\Desktop\\android-yolov8-bytetrack\\app\\.cxx\\Debug\\24153m3g\\x86_64" ^
yolov8Bytetrack
from C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
BUILD FAILED in 28s
42 actionable tasks: 42 executed
> Task :app:buildCMakeDebug[armeabi-v7a]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\armeabi-v7a'
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
C/C++: session, sequenceId, frameNumber);
C/C++: ^~~~~~~~~~~
C/C++: 1 warning generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/armeabi-v7a/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[armeabi-v7a] FAILED
> Task :app:buildCMakeDebug[x86]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86'
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/ndkcamera.cpp:142:43: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
C/C++: session, sequenceId, frameNumber);
C/C++: ^~~~~~~~~~~
C/C++: 1 warning generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=i686-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 2147483647L
C/C++: ^~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[x86] FAILED
> Task :app:buildCMakeDebug[x86_64]
C/C++: ninja: Entering directory `C:\Users\Administrator\Desktop\android-yolov8-bytetrack\app\.cxx\Debug\24153m3g\x86_64'
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\STrack.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/STrack.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\native-lib.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/native-lib.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/native-lib.cpp:21:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\utils.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/utils.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:241:34: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (extend_cost || cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/utils.cpp:247:20: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: if (cost_limit < LONG_MAX) {
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 3 warnings and 7 errors generated.
C/C++: D:\development\Android\sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=x86_64-none-linux-android24 --sysroot=D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dyolov8Bytetrack_EXPORTS -ID:/development/Android/sdk/eigen-3.3.8 -isystem D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include -isystem D:/development/Android/sdk/ncnn-20240102-android-vulkan/x86_64/include/ncnn -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -fno-limit-debug-info -fPIC -fno-rtti -fno-exceptions -pthread -MD -MT CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -MF CMakeFiles\yolov8Bytetrack.dir\BYTETracker.cpp.o.d -o CMakeFiles/yolov8Bytetrack.dir/BYTETracker.cpp.o -c C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:3:
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/STrack.h:3:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/opencv.hpp:65:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann.hpp:48:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/flann_base.hpp:41:
C/C++: In file included from D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/params.h:35:
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:83:63: error: use of typeid requires -frtti
C/C++: virtual const std::type_info& type() CV_OVERRIDE { return typeid(T); }
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:297:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: CV_THROW_IF_TYPE_MISMATCH(policy->type(), typeid(T));
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:306:51: error: use of typeid requires -frtti
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:314:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(anyimpl::empty_any);
C/C++: ^
C/C++: D:/development/Android/sdk/opencv-mobile-4.9.0-android/sdk/native/jni/include/opencv2/flann/any.h:334:34: error: use of typeid requires -frtti
C/C++: return policy->type() == typeid(T);
C/C++: ^
C/C++: In file included from C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.cpp:1:
C/C++: C:/Users/Administrator/Desktop/android-yolov8-bytetrack/app/src/main/cpp/BYTETracker.h:44:61: warning: implicit conversion from 'long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
C/C++: bool extend_cost = false, float cost_limit = LONG_MAX, bool return_cost = true);
C/C++: ~ ^~~~~~~~
C/C++: D:/development/Android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/14.0.7/include/limits.h:47:19: note: expanded from macro 'LONG_MAX'
C/C++: #define LONG_MAX __LONG_MAX__
C/C++: ^~~~~~~~~~~~
C/C++: <built-in>:97:22: note: expanded from here
C/C++: #define __LONG_MAX__ 9223372036854775807L
C/C++: ^~~~~~~~~~~~~~~~~~~~
C/C++: 1 warning and 7 errors generated.
> Task :app:buildCMakeDebug[x86_64] FAILED
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。