Problem cross-compiling Qt5 from Ubuntu to Raspbian(Raspberry pi3)
-
wrote on 23 May 2017, 16:19 last edited by
Sorry but the files was cutted. Now i have the correct one:
-
You can try the workaround described here.
-
wrote on 28 May 2017, 07:57 last edited by BadBlood
Hi SGaist,
I had another error but the last disappered, i will link the log file.
https://1drv.ms/u/s!As3fa8j7GVzZl3som_ciawx9hu50
First lines were cutted, but there are the most important about the error.
-
I'd still opt for changing to a more recent version of gcc like 4.9
-
wrote on 29 May 2017, 05:45 last edited by
I tried to use gcc 4.9, but it returns the error during cross compiling configuration, I linked few weeks ago. The cross compiler I chose is in the directory:
/home/michele/opt/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin
-
wrote on 12 Jun 2017, 20:08 last edited by BadBlood 6 Dec 2017, 20:10
I was able to create a raspbian with Qt5 following the guide at this link:
Next I put the image onto SD card, and there was all files.
But i had problems to find raspberry with the laptop through QT5 running on that, I' m going to open an other topic for that. Thank you. -
wrote on 9 Jul 2017, 14:28 last edited by
If it hasn't already been noticed the path setting script checks the number of parameters passed and is expecting 1 but 2 are being passed. I changed "$#" -ne 1 to "$#" -ne 2 and it ran without the error message.
The second parameter is used in the script so it is needed.
However I now get an error 'Cannot run compiler '/home/sam/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++'
(It does exist there)
-
If it hasn't already been noticed the path setting script checks the number of parameters passed and is expecting 1 but 2 are being passed. I changed "$#" -ne 1 to "$#" -ne 2 and it ran without the error message.
The second parameter is used in the script so it is needed.
However I now get an error 'Cannot run compiler '/home/sam/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++'
(It does exist there)
@TV_man said in Problem cross-compiling Qt5 from Ubuntu to Raspbian(Raspberry pi3):
/home/sam/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++
can you run it manually from a terminal?