hi
I recently learn how to cross-compile a QT5.8 application for BBB with the debian 8.7 jessie and kernel 4.4. My host PC is debian 8.7 jessie as well, 64 bit.
I use the tool chain from linaro and the mount BBB to my host as root file system.
Here is my configuration:
./configure
-platform linux-g++ -xplatform linux-arm-gnueabi-g++ -release -device
linux-beagleboard-g++ -sysroot /home/pli/BBB -prefix /home/debian/Qt5.8-arm
-device-option CROSS_COMPILE=/opt/pliARMtoolchain/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
-nomake tests -nomake examples \
-no-xcb \
-opengl es2 \
-eglfs \
The build was successful ans I can finish 'make' for the QT, then 'make install'.
Problem occurs when I deploy the application to BBB and here is the error:
-----------------------------------------------------------------------------------------------
libegl warning dri3 screen seems not dri3 capable
libegl warning dri2 failed to authenticate
EGL error: could not create the egl surface error = 0x300b
Aborted
-----------------------------------------------------------------------------------------------
The BBB has a fresh new image, and all I have done is to install the SGX driver, and sudo apt-get install libegls2-mesa-dev. Nothing else!
Does anyone have any idea on that?
I am using a hdmi display with resolution 1024*600, bought from Alibaba.
I have set the environment variable QT_QPA_EGLFS_DEPTH, QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT. But it doesn't help.
Thanks
/Peilang