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. Android Kit error message
Forum Updated to NodeBB v4.3 + New Features

Android Kit error message

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 629 Views 2 Watching
  • 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.
  • G Offline
    G Offline
    gabor53
    wrote on last edited by
    #1

    Hi,
    I have an Android project. I am trying to run in Debug mode on Android for x86 (Clang Qt 5.12.3 Android x86 Felgo) kit. I keep getting the following error message:

    :-1: error: error: cannot find -lc++
    :-1: error: linker command failed with exit code 1 (use -v to see invocation)

    What am I missing?
    Thank you for your help.

    K J.HilkJ 2 Replies Last reply
    0
    • G gabor53

      Hi,
      I have an Android project. I am trying to run in Debug mode on Android for x86 (Clang Qt 5.12.3 Android x86 Felgo) kit. I keep getting the following error message:

      :-1: error: error: cannot find -lc++
      :-1: error: linker command failed with exit code 1 (use -v to see invocation)

      What am I missing?
      Thank you for your help.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @gabor53

      Did you check if there is the library present?
      Is the path in the link correctly set?

      Vote the answer(s) that helped you to solve your issue(s)

      G 1 Reply Last reply
      0
      • K koahnig

        @gabor53

        Did you check if there is the library present?
        Is the path in the link correctly set?

        G Offline
        G Offline
        gabor53
        wrote on last edited by
        #3

        @koahnig
        Where is that library supposed to be?

        K 1 Reply Last reply
        0
        • G gabor53

          @koahnig
          Where is that library supposed to be?

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @gabor53

          In Qt creator you can find under "Tools"->"Options"->"Kits" and compiler tab the actual location of the compiler used. Typically there you should find the libs required for that specific cross-compiler.

          How did you install the Android kit?

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • G gabor53

            Hi,
            I have an Android project. I am trying to run in Debug mode on Android for x86 (Clang Qt 5.12.3 Android x86 Felgo) kit. I keep getting the following error message:

            :-1: error: error: cannot find -lc++
            :-1: error: linker command failed with exit code 1 (use -v to see invocation)

            What am I missing?
            Thank you for your help.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @gabor53

            https://forum.qt.io/topic/101322/what-s-the-problem-android-compile-error/12


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            G 1 Reply Last reply
            2
            • J.HilkJ J.Hilk

              @gabor53

              https://forum.qt.io/topic/101322/what-s-the-problem-android-compile-error/12

              G Offline
              G Offline
              gabor53
              wrote on last edited by
              #6

              @J-Hilk
              Thank you. This solution worked.

              1 Reply Last reply
              0

              • Login

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