Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cross compiler error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'
QtWS25 Last Chance

Cross compiler error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 496 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.
  • M Offline
    M Offline
    MichalF
    wrote on last edited by
    #1

    Hi,
    I installed Qt 5.15.13 on a virtual machine with Debian 10.

    I'm trying to run a simple program with a cross-compiler: arm-linux-gnueabihf-g++

    And the software fails all the time in the build, with the following error:
    :-1: error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'. Output:

    I installed this compiler and it is on my Debian10. in the location /usr/bin/

    I would appreciate a solution.
    Thanks!
    7ee754e1-c144-4ec3-aa41-ecad27b656d0-image.png

    JonBJ 1 Reply Last reply
    0
    • M MichalF

      Hi,
      I installed Qt 5.15.13 on a virtual machine with Debian 10.

      I'm trying to run a simple program with a cross-compiler: arm-linux-gnueabihf-g++

      And the software fails all the time in the build, with the following error:
      :-1: error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'. Output:

      I installed this compiler and it is on my Debian10. in the location /usr/bin/

      I would appreciate a solution.
      Thanks!
      7ee754e1-c144-4ec3-aa41-ecad27b656d0-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @MichalF
      Do you get any more information if you try running /usr/bin/arm-linux-gnueabihf-g++ from a terminal? Does ldd /usr/bin/arm-linux-gnueabihf-g++ reveal anything?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MichalF
        wrote on last edited by
        #3

        Hi,
        thank you for your answer.

        I have tried to compile a simple project of "hello world " not on Qt, and it just work fine.
        so I think maybe the problem is related to the Qt app.

        the commands you suggested me works fine.

        JonBJ 1 Reply Last reply
        0
        • M MichalF

          Hi,
          thank you for your answer.

          I have tried to compile a simple project of "hello world " not on Qt, and it just work fine.
          so I think maybe the problem is related to the Qt app.

          the commands you suggested me works fine.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @MichalF On Creator's "Build/Compile Output" pane does it show you the exact command-line it is trying to execute?

          M 1 Reply Last reply
          0
          • JonBJ JonB

            @MichalF On Creator's "Build/Compile Output" pane does it show you the exact command-line it is trying to execute?

            M Offline
            M Offline
            MichalF
            wrote on last edited by
            #5

            @JonB I am not sure where to look, can you show me in a screenshot?

            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