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. Problem when building project from x86 to ARM with QtCreator
Forum Updated to NodeBB v4.3 + New Features

Problem when building project from x86 to ARM with QtCreator

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 3.0k 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.
  • A Offline
    A Offline
    awaxisnei
    wrote on last edited by
    #1

    Hi there, my name is Luis Miguel.

    I want to develop an application from my PC (x86, 64-bit Ubuntu 12.04 LTS) and construct a project that can be run on a BeagleBoard (OMAP3, ARM with Ubuntu 12.04 LTS).

    Right now I have compiled and installed the qmake for ARM. I followed this tutorial:

    http://treyweaver.blogspot.com.es/2010/10/setting-up-qt-development-environment.html

    Once done, when I build the project (Build - Project Buil "x"), I get in the console the following error:

    Starting / home/awaxisnei/Desktop/Prueba/Prueba-build-desktop-Qt_4_8_3__qt-arm__Release/Prueba ...
    Failed to start program. Path or permissions wrong?
    / home/awaxisnei/Desktop/Prueba/Prueba-build-desktop-Qt_4_8_3__qt-arm__Release/Prueba exited with code -1

    I exported the path where I installed the angstrom toolchain:

    export PATH = / opt / qt-arm / bin: $ PATH

    I do not know what to do more ...

    Peaseee I need a little help. Thank you very much!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You built ARM code and are now trying to run that ARM code on a intel X86 CPU. That will not work.

      You will need to make creator copy the code to your device and execute it there.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        awaxisnei
        wrote on last edited by
        #3

        Oops! You are right ... I was running it. I've noticed ...

        I'll test the executable ...

        Thank you very much!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          awaxisnei
          wrote on last edited by
          #4

          Now when I change the project. I do the following in my BeagleBoard:

          $ chmod 777 test

          $. / Test

          And the output is:

          -bash:. / test No such file or directory

          Why?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            guziemic
            wrote on last edited by
            #5

            In Linux
            @
            test
            @

            and

            @
            Test
            @

            are two different object. Or maybe you just type wrong letter (capital) in the post?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              awaxisnei
              wrote on last edited by
              #6

              $ chmod 777 test
              $. / Test
              And the output is:
              -bash:. /Test No such file or directory

              I wrote it wrong I unintentionally

              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