https://bugs.kde.org/show_bug.cgi?id=400976

            Bug ID: 400976
           Summary: Fatal error: assert.h: No such file or directory with
                    Android.cmake as toolchain
           Product: extra-cmake-modules
           Version: 5.51.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: testcase
          Severity: normal
          Priority: NOR
         Component: AndroidToolchain
          Assignee: aleix...@kde.org
          Reporter: lukasz.wojnilow...@gmail.com
                CC: ecm-bugs-n...@kde.org
  Target Milestone: ---

Created attachment 116265
  --> https://bugs.kde.org/attachment.cgi?id=116265&action=edit
Simple Android app

SUMMARY
Building x86 Android app (see attachment) with the use of
/usr/share/ECM/toolchain/Android.cmake causes fatal error about not finding
"assert.h". Building without this toolchain allows to compile the app
successfully.

STEPS TO REPRODUCE
1. unpack testcase.tar.xz
2. adjust paths to java, qt, and android's ndk, and sdk in setupScript.sh
3. run setupScript.sh to compile simple Android app

OBSERVED RESULT
Compiler reports that it cannot find "assert.h" (see attachment)

EXPECTED RESULT
Compiler should compile the app without errors.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.48.0 (but ECM is 5.51.0)
Qt Version: 5.11.1 (but I've installed precompiled Android's Qt x86 5.11.2 from
qt-unified-linux-x64-3.0.5-online.run)

ADDITIONAL INFORMATION
Remove
-DCMAKE_TOOLCHAIN_FILE=/usr/share/ECM/toolchain/Android.cmake\
from setupScript.sh to compile successfully.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to