Open maziyi234 opened 1 year ago
Build command failed. Error while executing process D:\android with arguments {skd\cmake\3.10.2.4988404\bin\ninja.exe -C F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app.cxx\cmake\debug\arm64-v8a ncnnyolox} ninja: Entering directory `F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app.cxx\cmake\debug\arm64-v8a' [1/1] Linking CXX shared library F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libncnnyolox.so FAILED: F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/build/intermediates/cmake/debug/obj/arm64-v8a/libncnnyolox.so cmd.exe /C "cd . && "D:\android skd\ndk\20.1.5948944\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe" --target=aarch64-none-linux-android24 --gcc-toolchain="D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64" --sysroot="D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64/sysroot" -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fno-experimental-isel -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -shared -Wl,-soname,libncnnyolox.so -o F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libncnnyolox.so CMakeFiles/ncnnyolox.dir/yoloxncnn.cpp.o CMakeFiles/ncnnyolox.dir/yolox.cpp.o CMakeFiles/ncnnyolox.dir/ndkcamera.cpp.o F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libncnn.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_core.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_imgproc.a -lcamera2ndk -lmediandk -fopenmp -static-openmp -Wl,-wrap,__kmp_affinity_determine_capable "D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/24/libvulkan.so" F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libglslang.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libSPIRV.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libMachineIndependent.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libOGLCompiler.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libOSDependent.a -pthread F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libGenericCodeGen.a -landroid -ljnigraphics F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_core.a -ldl -lm -llog -latomic -lm && cd ." clang++: error: unknown argument: '-static-openmp' ninja: build stopped: subcommand failed. 我在下手机时候 出现了这个问题 请问 是什么原因呢,求大佬解答
解决了吗哥们
Build command failed. Error while executing process D:\android with arguments {skd\cmake\3.10.2.4988404\bin\ninja.exe -C F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app.cxx\cmake\debug\arm64-v8a ncnnyolox} ninja: Entering directory `F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app.cxx\cmake\debug\arm64-v8a' [1/1] Linking CXX shared library F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libncnnyolox.so FAILED: F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/build/intermediates/cmake/debug/obj/arm64-v8a/libncnnyolox.so cmd.exe /C "cd . && "D:\android skd\ndk\20.1.5948944\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe" --target=aarch64-none-linux-android24 --gcc-toolchain="D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64" --sysroot="D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64/sysroot" -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fno-experimental-isel -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -shared -Wl,-soname,libncnnyolox.so -o F:\ncnn-android-yolox-main\ncnn-android-yolox-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libncnnyolox.so CMakeFiles/ncnnyolox.dir/yoloxncnn.cpp.o CMakeFiles/ncnnyolox.dir/yolox.cpp.o CMakeFiles/ncnnyolox.dir/ndkcamera.cpp.o F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libncnn.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_core.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_imgproc.a -lcamera2ndk -lmediandk -fopenmp -static-openmp -Wl,-wrap,__kmp_affinity_determine_capable "D:/android skd/ndk/20.1.5948944/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/24/libvulkan.so" F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libglslang.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libSPIRV.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libMachineIndependent.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libOGLCompiler.a F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libOSDependent.a -pthread F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/ncnn-20221128-android-vulkan/arm64-v8a/lib/libGenericCodeGen.a -landroid -ljnigraphics F:/ncnn-android-yolox-main/ncnn-android-yolox-main/app/src/main/jni/opencv-mobile-4.6.0-android/sdk/native/staticlibs/arm64-v8a/libopencv_core.a -ldl -lm -llog -latomic -lm && cd ." clang++: error: unknown argument: '-static-openmp' ninja: build stopped: subcommand failed. 我在下手机时候 出现了这个问题 请问 是什么原因呢,求大佬解答