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. crosscompile debugger build error
Forum Updated to NodeBB v4.3 + New Features

crosscompile debugger build error

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

    Hi,
    I am trying to cross compile from raspberry pi (raspberry pi's raspbian os to ubuntu pc)
    I have completed the cross-compile installation and I have also confirmed that the executable was created in raspberry pi (when running as release).
    However, debugging does not work.
    Below is the output to the output window.

    Debugging starts
    Listening on port 10002
    Remote debugging from host 192.168.14.229
    Architecture rejected target-supply description
    Process / home / pi / testPi created; Pid = 5642
    Killing process (es): 5642
    Debugging has finished

    Below is the compile out output.
    11:20:23: Running steps for project testPi...
    11:20:23: Configuration unchanged, skipping qmake step.
    11:20:23: Starting: "/usr/bin/make"
    make: Nothing to be done for 'first'.
    11:20:23: The process "/usr/bin/make" exited normally.
    11:20:23: The remote file system has 24536 megabytes of free space, going ahead.
    11:20:23: Deploy step finished.
    11:20:23: No deployment action necessary. Skipping.
    11:20:23: Deploy step finished.
    11:20:23: Elapsed time: 00:00.

    Also, the launching debugger is red when the debugger is built.

    What is the area I missed?
    ![alt text](0_1497407064442_test.png image url)

    jsulmJ 1 Reply Last reply
    0
    • T this

      Hi,
      I am trying to cross compile from raspberry pi (raspberry pi's raspbian os to ubuntu pc)
      I have completed the cross-compile installation and I have also confirmed that the executable was created in raspberry pi (when running as release).
      However, debugging does not work.
      Below is the output to the output window.

      Debugging starts
      Listening on port 10002
      Remote debugging from host 192.168.14.229
      Architecture rejected target-supply description
      Process / home / pi / testPi created; Pid = 5642
      Killing process (es): 5642
      Debugging has finished

      Below is the compile out output.
      11:20:23: Running steps for project testPi...
      11:20:23: Configuration unchanged, skipping qmake step.
      11:20:23: Starting: "/usr/bin/make"
      make: Nothing to be done for 'first'.
      11:20:23: The process "/usr/bin/make" exited normally.
      11:20:23: The remote file system has 24536 megabytes of free space, going ahead.
      11:20:23: Deploy step finished.
      11:20:23: No deployment action necessary. Skipping.
      11:20:23: Deploy step finished.
      11:20:23: Elapsed time: 00:00.

      Also, the launching debugger is red when the debugger is built.

      What is the area I missed?
      ![alt text](0_1497407064442_test.png image url)

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

      @this said in crosscompile debugger build error:

      I am trying to cross compile from raspberry pi (raspberry pi's raspbian os to ubuntu pc)

      Really? Why? Usually you cross compile on your host PC/Laptop for RPi as RPi is way slower than a PC.
      Or do I misunderstand you?

      "Architecture rejected target-supply description" - looks like your debugger on RPi does not support x86 (as RPi is ARM). You need a debugger with x86 support. Usually a cross compile tool chain contains such a debugger.

      "Also, the launching debugger is red when the debugger is built" - I don't understand this sentence.
      Your compile output shows only a build of already built project (so, no compilation/linking is taking place because it was done before).

      Image sharing usually is not working in this forum.

      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