crosscompile debugger build error



  • 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)


  • Moderators

    @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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.