| Summary: | Fatal error: assert.h: No such file or directory with Android.cmake as toolchain | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] extra-cmake-modules | Reporter: | wojnilowicz <lukasz.wojnilowicz> |
| Component: | AndroidToolchain | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | ecm-bugs-null |
| Priority: | NOR | Keywords: | testcase |
| Version First Reported In: | 5.51.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Simple Android app
Terminal output from compilation |
||
Created attachment 116266 [details]
Terminal output from compilation
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |
Created attachment 116265 [details] 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.