Hallo everybody, I tried to cross compile Qt for pi2 by follow this tutorial http://visualgdb.com/tutorials/raspberry/qt/embedded/ but never succed. now i try this tutorials (https://wiki.qt.io/RaspberryPi2EGLFS) configuration: ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v i got this error by the configuration Failed to process makespec for platform 'devices/linux-rasp-pi2-g++' Project ERROR: Compiler /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspian/bin/arm-linux-gnnueabihf-g++ not found. Check the value of CROSS_COMPILE -device-option Could not read qmake configuration file /home/raspberry/raspi/qtbase/mkspecs/devices/linux-rasp-pi2-g++/qmake.co nf. Error processing project file: /dev/null
soweit habe ich den fehler gelöst lag bei einer schreibfehler in der configuration.Jedoch habe ich folgende Fehler nach Aüsführung von dem make /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-g nueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libz.so: Datei oder Verzeichnis nicht gefunden /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-g nueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libglib-2.0.so : Datei oder Verzeichnis nicht gefunden /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-g nueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/librt.so: Datei oder Verzeichnis nicht gefunden /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-r aspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-g nueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libm.so: Datei oder Verzeichnis nicht gefunden Makefile:1210: recipe for target '../../lib/libQt5Core.so.5.6.0' failed make[2]: *** [../../lib/libQt5Core.so.5.6.0] Error 1 make[2]: Leaving directory '/home/raspberry/raspi/qtbase/src/corelib' Makefile:194: recipe for target 'sub-corelib-make_first' failed make[1]: *** [sub-corelib-make_first] Error 2 make[1]: Leaving directory '/home/raspberry/raspi/qtbase/src' Makefile:45: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.