PROBLEM WITH ANDROID "exited with code 14."
-
Hi, when i try to run the QZXing example, the Compile Output show me this:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android-build'. > No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 5.53 secs Warning: QML import could not be resolved in any of the import paths: QZXing Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl Building the android package failed! -- For more information, run this command with --verbose. 16:53:05: The process "D:\Qt5.11\5.11.1\android_armv7\bin\androiddeployqt.exe" exited with code 14. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Build Android APK"
Someone can help me??
-
@edoardo-videx
what version of Android SDK are you building against? -
@raven-worx
Android SDK Version: 26.1.1
NDK Version: 10.4.0
QtVersion: 5.12.0 -
@edoardo.videx said in PROBLEM WITH ANDROID "exited with code 14.":
@raven-worx
Android SDK Version: 26.1.1
NDK Version: 10.4.0
QtVersion: 5.12.0there seems do be your problem, Qt 5.12 now requieres the newest NDK-Version, 18b right now IIRC.
-
I try with NDK 18b, but it's the same.
Compile Output:FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android-build'. > No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 19.079 secs Warning: QML import could not be resolved in any of the import paths: QZXing Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl Building the android package failed! -- For more information, run this command with --verbose. 08:27:26: The process "D:\Qt5.11\5.11.1\android_armv7\bin\androiddeployqt.exe" exited with code 14. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Build Android APK"
-
@edoardo.videx
you have to rerun qmake after chaning the NDK toolchain! -
@J.Hilk
now i've this problemIn file included from ..\QZXingLive\native.cpp:1: In file included from ..\QZXingLive/native.h:4: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore\QObject:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobject.h:46: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobjectdefs.h:48: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qnamespace.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\CameraImageWrapper.cpp:1: In file included from ..\..\src/CameraImageWrapper.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui\QImage:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui/qimage.h:43: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui/qtguiglobal.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\QZXing.cpp:1: In file included from ..\..\src/QZXing.h:20: In file included from ..\..\src/QZXing_global.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/QtGlobal:1: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\zxing\zxing\ResultIO.cpp:22: ..\..\src\zxing\zxing/Result.h:23:10: fatal error: 'string' file not found #include <string> ^~~~~~~~ In file included from ..\..\src\zxing\zxing\InvertedLuminanceSource.cpp:18: ..\..\src\zxing\zxing/ZXing.h:33:10: fatal error: 'limits' file not found #include <limits> ^~~~~~~~ In file included from ..\..\src\ImageHandler.cpp:1: In file included from ..\..\src/ImageHandler.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore\QObject:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobject.h:46: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobjectdefs.h:48: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qnamespace.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ 1 error generated. make: *** [ResultIO.obj] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [InvertedLuminanceSource.obj] Error 1 1 error generated. make: *** [native.obj] Error 1 1 error generated. make: *** [CameraImageWrapper.obj] Error 1 1 error generated. make: *** [application.obj] Error 1 1 error generated. make: *** [main.obj] Error 1 1 error generated. make: *** [QZXing.obj] Error 1 1 error generated. make: *** [ImageHandler.obj] Error 1 09:24:59: The process "C:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited with code 2. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Make"
-
@edoardo.videx said in PROBLEM WITH ANDROID "exited with code 14.":
Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7))
well now you're trying to build for 5.11.1 with the ndk r18b. Which one do you want to use ? 5.11.1 does not work with the newest toolchain.
Sadly, right now it's inconvenient and confusing with 5.12 and 5.11, but you'll have to seperate those to! -
@J.Hilk
I want to try with 5.11.
So:
With NDK 18b the CompileOut is :In file included from ..\QZXingLive\native.cpp:1: In file included from ..\QZXingLive/native.h:4: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore\QObject:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobject.h:46: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobjectdefs.h:48: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qnamespace.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\CameraImageWrapper.cpp:1: In file included from ..\..\src/CameraImageWrapper.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui\QImage:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui/qimage.h:43: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtGui/qtguiglobal.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\QZXing.cpp:1: In file included from ..\..\src/QZXing.h:20: In file included from ..\..\src/QZXing_global.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/QtGlobal:1: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ In file included from ..\..\src\zxing\zxing\ResultIO.cpp:22: ..\..\src\zxing\zxing/Result.h:23:10: fatal error: 'string' file not found #include <string> ^~~~~~~~ In file included from ..\..\src\zxing\zxing\InvertedLuminanceSource.cpp:18: ..\..\src\zxing\zxing/ZXing.h:33:10: fatal error: 'limits' file not found #include <limits> ^~~~~~~~ In file included from ..\..\src\ImageHandler.cpp:1: In file included from ..\..\src/ImageHandler.h:20: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore\QObject:1: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobject.h:46: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qobjectdefs.h:48: In file included from D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qnamespace.h:43: D:\Qt5.11\5.11.1\android_armv7\include\QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found # include <type_traits> ^~~~~~~~~~~~~ 1 error generated. make: *** [ResultIO.obj] Error 1 make: *** Waiting for unfinished jobs.... 1 error generated. make: *** [InvertedLuminanceSource.obj] Error 1 1 error generated. make: *** [native.obj] Error 1 1 error generated. make: *** [CameraImageWrapper.obj] Error 1 1 error generated. make: *** [application.obj] Error 1 1 error generated. make: *** [main.obj] Error 1 1 error generated. make: *** [QZXing.obj] Error 1 1 error generated. make: *** [ImageHandler.obj] Error 1 09:24:59: The process "C:\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" exited with code 2. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Make"
With NDK 10e the CompileOut is :
c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::QZXingFilterRunnable(QZXingFilter*)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::QZXingFilterRunnable(QZXingFilter*)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::run(QVideoFrame*, QVideoSurfaceFormat const&, QFlags<QVideoFilterRunnable::RunFlag>)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::processVideoFrameProbed(SimpleVideoFrame&, QRect const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::run(QVideoFrame*, QVideoSurfaceFormat const&, QFlags<QVideoFilterRunnable::RunFlag>)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::decode(QImage const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::QZXingImageProvider()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'vtable for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::QZXingImageProvider()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::requestImage(QString const&, QSize*, QSize const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'typeinfo for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'typeinfo name for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here collect2.exe: error: ld returned 1 exit status make: *** [libQZXingLive.so] Error 1 09:55:56: The process "C:\android-ndk-r10e\prebuilt\windows-x86_64\bin\make.exe" exited with code 2. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Make"
-
@edoardo.videx Did you rerun qmake and rebuild (delete the build folder to be sure) after changing NDK?
-
@jsulm
Yes, i did it... But it's the same. Not work!
The message error:c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilter::~QZXingFilter()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilter::~QZXingFilter()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilter::~QZXingFilter()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilter::createFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::QZXingFilterRunnable(QZXingFilter*)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::QZXingFilterRunnable(QZXingFilter*)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::~QZXingFilterRunnable()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::run(QVideoFrame*, QVideoSurfaceFormat const&, QFlags<QVideoFilterRunnable::RunFlag>)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::processVideoFrameProbed(SimpleVideoFrame&, QRect const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'non-virtual thunk to QZXingFilterRunnable::run(QVideoFrame*, QVideoSurfaceFormat const&, QFlags<QVideoFilterRunnable::RunFlag>)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingFilter.obj: multiple definition of 'QZXingFilterRunnable::decode(QImage const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingFilter.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::QZXingImageProvider()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'vtable for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::QZXingImageProvider()' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'QZXingImageProvider::requestImage(QString const&, QSize*, QSize const&)' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'typeinfo for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: QZXingImageProvider.obj: multiple definition of 'typeinfo name for QZXingImageProvider' c:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: QZXingImageProvider.obj: previous definition here collect2.exe: error: ld returned 1 exit status make: *** [libQZXingLive.so] Error 1 08:21:55: The process "C:\android-ndk-r10e\prebuilt\windows-x86_64\bin\make.exe" exited with code 2. Error while building/deploying project QZXingLive (kit: Android for armeabi-v7a (Clang Qt 5.11.1 for Android armv7)) When executing step "Make"
-
@edoardo.videx My understanding of what @J-Hilk wrote is that you need to use NDK 18 with Qt 5.12 and older NDK with Qt 5.11.