Trying to cross-compile Qt for Beaglebone back with OpenGL support and SGX driver for Quick and I am trying for days.
I have created SD card (debian image with 4.4 kernel) Installed sgx driver and running
Installed (on target) libicu-dev libcups2-dev libudev-dev libmtdev-dev libegl1-mesa-dev libopenvg1-mesa-dev
Host: Ubuntu 16.04. - 64 bit
Created new device in qtbase/mkspecs/devices/linux-beaglebone-g++ and added in qmake.conf following
QMAKE_INCDIR_OPENGL = /path_to_the/rootfs/usr/include/GL
QMAKE_LIBDIR_OPENGL = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_POWERVR = /path_to_the/rootfs/usr/include
QMAKE_INCDIR_OPENGL_ES1 = /path_to_the/rootfs/usr/include/GLES
QMAKE_LIBDIR_OPENGL_ES1 = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_OPENGL_ES1CL = /path_to_the/rootfs/usr/include/GLES
QMAKE_LIBDIR_OPENGL_ES1CL = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_OPENGL_ES2 = /path_to_the/rootfs/usr/include/GLES2
QMAKE_LIBDIR_OPENGL_ES2 = /path_to_the/rootfs/usr/lib
QMAKE_INCDIR_EGL = /path_to_the/rootfs/usr/include/GL
QMAKE_LIBDIR_EGL = /path_to_the/rootfs/usr/lib
Created new mkspecs linux-linaro-gnueabihf-g++ and added paths to linaro compiler
Configuration:
configure -v
-opensource
-confirm-license
-qt-xcb
-no-xinput2
-no-tslib
-nomake examples
-nomake tests
-sysroot /pathtothe/rootfs
-prefix /path_to_install/bbb-qt-5.5.1
-xplatform linux-linaro-gnueabihf-g++
-device linux-beaglebone-g++
-device-option CROSS_COMPILE=/pathtolinaro/bin/arm-linux-gnueabihf-
-skip qtwebkit
-skip qtwebkit-examples
-skip qtwebchannel
-skip qtwebengine
-skip qtwayland
-no-dbus
with output:
make -j4
terminated with this error
missing files are in place…
rootfs/usr/lib/arm-linux-gnueabihf/librt.so
How to solve this… anyone, please.