Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qmake build errors for blank arm64 android app
Forum Updated to NodeBB v4.3 + New Features

Qmake build errors for blank arm64 android app

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 304 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    physx_97
    wrote on last edited by
    #1

    I'm trying to begin android development targeting a oneplus 3 running android 9 on an arm64 chip. I am using Android SDK 26.1.1 and NDK 20. And my system is KDE ubuntu 18.04. And i am able to build and run normal programs

    I have stumbled at the first hurdle and am unable to build to the device which seems to be setup correctly. The two issues are

    cannot find -lc++
    linker command failed with exit code 1

    In detail the error is:

    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [libuntitled.so] Error 1
    17:24:15: The process "/home/euan/Android_NDK/prebuilt/linux-x86_64/bin/make" exited with code 2.
    Error while building/deploying project untitled (kit: Android for arm64-v8a (Clang Qt 5.13.0 for Android ARM64-v8a))
    When executing step "Make"
    

    Things i have tried:

    • extensive googling
    • modifying mkspecs/android-clang/qmake.conf in accordance to here from this forum post
    • changing NDK versions.

    Many thanks,

    1 Reply Last reply
    0
    • P Offline
      P Offline
      physx_97
      wrote on last edited by
      #2

      the issue resolved itself.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved