I run it on the host PC
Posts made by camjod
RE: Install Qt 5.13.0 on Raspberry Pi 3
Thank you for your help, the cross-compiling is what what I want to do for my project.
When I execute your command I have this output :
-bash: /home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++: cannot execute binary file: Exec format error
Install Qt 5.13.0 on Raspberry Pi 3
I tried to install Qt 5.13.0 with this tutorial : https://wiki.qt.io/RaspberryPi2EGLFS
I am at the step 10, and I launched the command :
./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linker
It beggins to configure but after ~10 minutes, it ends with the message :
Project ERROR: Cannot run target compiler '/home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++'. Output:
Maybe you forgot to setup the environment ?
I am still a begginer I have tried to update my compiler but have I still have the same problem.
I would like to know how can I resolve it or if there is another toturial in order to install Qt.
Thank you !