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. 

On BBB I installed the SGX driver as described 
here: http://elinux.org/BeagleBoardDebian#Mainline_.284.4.x_lts.29   in 
order to get the openGL es2 support.

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

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7bb67c4b-3955-46a2-b359-bffb6f2fd61c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to