Problem when building project from x86 to ARM with QtCreator
-
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 -1I 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!
-
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.