Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Run the executable file built in Ubuntu on Raspberry Pi Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Run the executable file built in Ubuntu on Raspberry Pi Ubuntu

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 530 Views 1 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.
  • I Offline
    I Offline
    IknowQT
    wrote on 22 Oct 2021, 06:13 last edited by
    #1

    I copied the executable file built in Ubuntu to Raspberry Pi Ubuntu and ran it, but Permission denied came out and I set the permission?
    But the error path is /home/ubuntu/Desktop/DistributionKit/bin/TEST: Permission denied Is this a problem with the path of Cutie or a problem with Linux? Help me

    J 1 Reply Last reply 22 Oct 2021, 07:47
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 22 Oct 2021, 07:39 last edited by
      #2

      But you have cross-compiled your app on desktop, right? If yes, please see if your TEST binary has correct permissions. For example, look it up in output of ls -aGl. If permissions are wrong, you can change them with chmod and chown commands.

      If you have not cross-compiled, then your binary is compiled in x86 architecture but Raspberry Pi uses ARM processor (armhf architecture) - it cannot work, permissions do not matter at all here.

      (Z(:^

      I 1 Reply Last reply 22 Oct 2021, 07:46
      0
      • S sierdzio
        22 Oct 2021, 07:39

        But you have cross-compiled your app on desktop, right? If yes, please see if your TEST binary has correct permissions. For example, look it up in output of ls -aGl. If permissions are wrong, you can change them with chmod and chown commands.

        If you have not cross-compiled, then your binary is compiled in x86 architecture but Raspberry Pi uses ARM processor (armhf architecture) - it cannot work, permissions do not matter at all here.

        I Offline
        I Offline
        IknowQT
        wrote on 22 Oct 2021, 07:46 last edited by
        #3

        @sierdzio
        If the arm64 and amd64 architectures are different for the same Ubuntu, do you need to make cross-compilation?

        J S 2 Replies Last reply 22 Oct 2021, 07:48
        0
        • I IknowQT
          22 Oct 2021, 06:13

          I copied the executable file built in Ubuntu to Raspberry Pi Ubuntu and ran it, but Permission denied came out and I set the permission?
          But the error path is /home/ubuntu/Desktop/DistributionKit/bin/TEST: Permission denied Is this a problem with the path of Cutie or a problem with Linux? Help me

          J Offline
          J Offline
          JonB
          wrote on 22 Oct 2021, 07:47 last edited by
          #4

          @IknowQT
          You are already asking this at https://forum.qt.io/topic/131329/executable-library-permission/6, and I answered there. Please don't post two different topics for the same question, it wastes people's time answering both, or at least cross-reference the other post from each other so that we know.

          1 Reply Last reply
          2
          • I IknowQT
            22 Oct 2021, 07:46

            @sierdzio
            If the arm64 and amd64 architectures are different for the same Ubuntu, do you need to make cross-compilation?

            J Offline
            J Offline
            JonB
            wrote on 22 Oct 2021, 07:48 last edited by JonB
            #5

            @IknowQT said in Run the executable file built in Ubuntu on Raspberry Pi Ubuntu:

            @sierdzio
            If the arm64 and amd64 architectures are different for the same Ubuntu, do you need to make cross-compilation?

            Yes, like I wrote you in your other thread. Or do you wish to keep asking different people if this is indeed the case because you don't like it?

            1 Reply Last reply
            0
            • I IknowQT
              22 Oct 2021, 07:46

              @sierdzio
              If the arm64 and amd64 architectures are different for the same Ubuntu, do you need to make cross-compilation?

              S Offline
              S Offline
              sierdzio
              Moderators
              wrote on 22 Oct 2021, 07:56 last edited by
              #6

              @IknowQT said in Run the executable file built in Ubuntu on Raspberry Pi Ubuntu:

              @sierdzio
              If the arm64 and amd64 architectures are different for the same Ubuntu, do you need to make cross-compilation?

              Yes, cross-compile or compile natively on Raspberry Pi.

              (Z(:^

              1 Reply Last reply
              0

              1/6

              22 Oct 2021, 06:13

              • Login

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