Fatal error: No such file or directory - Windows 7 64-bit Qt cross-compile for Raspberry Pi 2 -
i´m trying cross-compile qt 5.5.0 raspberry pi 2 following tutorial: http://visualgdb.com/tutorials/raspberry/qt/embedded/
on windows7 32-bit worked fine, trying build qt-everywhere-opensource-src-5.5.0 on 64-bit system leads following error during "make".
in file included c:/users/user/documents/raspberry/resources/qt-everywhere-opensource-src-5.5.0/qtbase/src/platformsupport/eglconvenience/qeglplatformwindow.cpp:35:0: c:/users/user/documents/raspberry/resources/qt-everywhere-opensource-src-5.5.0/qtbase/include/qplatformsupport/5.5.0/qtplatformsupport/private/qopenglcompositor_p.h:1:87: fatal error: ../../../../../src/platformsupport/platformcompositor/qopenglcompositor_p.h: no such file or directory #include "../../../../../src/platformsupport/platformcompositor/qopenglcompositor_p.h" ^ compilation terminated.
the relative path correct, still respective file isn´t found. changing content of qopenqlcompositor_p.h , replacing relative path absolute path "#include "c:/users/users/documents/raspberry/resources/qt-everywhere-opensource-src-5.5.0-new/qtbase/src/platformsupport/platformcompositor" solves problem @ first, in next run "make" terminates due fatal error refers different include file contains relative path.
i run configure following arguments:
-platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g++ -sysroot c:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5 -device-option cross_compile=c:/sysgcc/raspberry/bin/arm-linux-gnueabihf- -qt-xcb -qt-xkbcommon -xkb-config-root c:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/share/x11/xkb -qpa xcb
thank help!
Comments
Post a Comment