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. CXX Compiler error : arm-linux-androideabi-g++ -- broken
Qt 6.11 is out! See what's new in the release blog

CXX Compiler error : arm-linux-androideabi-g++ -- broken

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 354 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.
  • A Offline
    A Offline
    avi_4
    wrote on last edited by
    #1

    I am not able to setup QT-Android project

    toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++"

    is not able to compile a simple test program.

    It fails with the following output:

    Change Dir: /tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_9e445/fast"
    /usr/bin/make -f CMakeFiles/cmTC_9e445.dir/build.make CMakeFiles/cmTC_9e445.dir/build
    make[1]: Entering directory '/tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_9e445.dir/testCXXCompiler.cxx.o
    

    collect2: error: ld returned 1 exit status
    CMakeFiles/cmTC_9e445.dir/build.make:97: recipe for target 'cmTC_9e445' failed
    make[1]: *** [cmTC_9e445] Error 1
    make[1]: Leaving directory '/tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp'
    Makefile:126: recipe for target 'cmTC_9e445/fast' failed
    make: *** [cmTC_9e445/fast] Error 2

    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:4 (project)

    jsulmJ 1 Reply Last reply
    0
    • A avi_4

      I am not able to setup QT-Android project

      toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++"

      is not able to compile a simple test program.

      It fails with the following output:

      Change Dir: /tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp
      
      Run Build Command:"/usr/bin/make" "cmTC_9e445/fast"
      /usr/bin/make -f CMakeFiles/cmTC_9e445.dir/build.make CMakeFiles/cmTC_9e445.dir/build
      make[1]: Entering directory '/tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp'
      Building CXX object CMakeFiles/cmTC_9e445.dir/testCXXCompiler.cxx.o
      

      collect2: error: ld returned 1 exit status
      CMakeFiles/cmTC_9e445.dir/build.make:97: recipe for target 'cmTC_9e445' failed
      make[1]: *** [cmTC_9e445] Error 1
      make[1]: Leaving directory '/tmp/QtCreator-6YdN8z/qtc-cmake-XXJsDmA0/CMakeFiles/CMakeTmp'
      Makefile:126: recipe for target 'cmTC_9e445/fast' failed
      make: *** [cmTC_9e445/fast] Error 2

      CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
      CMakeLists.txt:4 (project)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @avi_4 Hi!
      Which Qt version did you install?
      Which NDK version did you install?
      Is your Android Kit properly configured in QtCreator?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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