Unsolved Why not cross compile the EGL device integrations plugins?
-
Hi,
the configure params:./configure \ -v \ -opensource \ -confirm-license \ -device-option CROSS_COMPILE=arm-arago-linux-gnueabi- \ -device linux-arm-gnueabi-ti-g++ \ -prefix /opt/autorun/qt5 \ -extprefix /home/wangbi/workdir_project/workdir_Qt/Qt5.6.3/qt5 \ -hostprefix /home/wangbi/workdir_project/workdir_Qt/Qt5.6.3/qt5-host \ -nomake examples \ -nomake tests \ -opengl es2 \ -no-xcb \ -sysroot /home/wangbi/workdir_project/workdir_Qt/rfs
-
Is that a custom device mkspec ?
-
@SGaist
Hi, it is not, ti provides. -
@Alex_wang
linux-arm-gnueabi-ti-g++ :
qmake.conf:include(../common/linux_device_pre.conf) # Change the required paths here QMAKE_INCDIR += $$[QT_SYSROOT]/include \ $$[QT_SYSROOT]/usr/include \ $$[QT_SYSROOT]/usr/include/EGL \ $$[QT_SYSROOT]/usr/include/EWS \ $$[QT_SYSROOT]/usr/include/GLES \ $$[QT_SYSROOT]/usr/include/GLES2 \ $$[QT_SYSROOT]/usr/include/KHR QMAKE_LIBDIR += \ $$[QT_SYSROOT]/usr/lib/ES6.0 \ $$[QT_SYSROOT]/usr/lib \ $$[QT_SYSROOT]/lib QMAKE_LFLAGS += \ -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/ES6.0 \ -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib \ -Wl,-rpath-link,$$[QT_SYSROOT]/lib QMAKE_INCDIR_OPENGL[_ES2] += $$[QT_SYSROOT]/usr/include \ $$[QT_SYSROOT]/usr/include/EGL \ $$[QT_SYSROOT]/usr/include/EWS \ $$[QT_SYSROOT]/usr/include/GLES \ $$[QT_SYSROOT]/usr/include/GLES2 \ $$[QT_SYSROOT]/usr/include/KHR QMAKE_LIBDIR_OPENGL[_ES2] += \ $$[QT_SYSROOT]/usr/lib/ES6.0 \ $$[QT_SYSROOT]/usr/lib QMAKE_LIBS_OPENGL[_ES2] += -lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lusc -lkms COMPILER_FLAGS += -O3 -march=armv7-a -mfloat-abi=softfp # When configured with -opengl es2, eglfs will be functional with its # dummy fullscreen X11 or kms backend, in addition to xcb. EGLFS_DEVICE_INTEGRATION = eglfs_kms include(../common/linux_arm_device_post.conf) load(qt_config)
-
Do you have the OpenGL libraries and includes installed on your system ?
-
@SGaist
Hi,
Yes, the configure result :OpenGL / OpenVG: EGL .................. yes OpenGL ............... yes (OpenGL ES 2.0+) OpenVG ............... yes-auto ....... QPA backends: DirectFB ............. no EGLFS ................ yes EGLFS i.MX6 ........ no EGLFS i.MX6 Wayland. no EGLFS EGLDevice .... no EGLFS GBM .......... no EGLFS Mali ......... no EGLFS Raspberry Pi . no EGLFS X11 .......... no LinuxFB .............. yes Mir client............ no XCB .................. no
-
How old is the linux distribution you are trying to cross-compile for ?
-
@SGaist
Hi,
Linux kernel release 2.6.xx http://kernel.org/ -
2.6 is more than outdated and this is the kernel.
I'm asking about the distribution running on your device.
-
@SGaist
Hi,
sorry,I am not find the distribution.
I use the linux-2.6.37-psp04.02.00.07 sdk with the linux kernel,which is provided by TI. -
You really should check whether there's not something more recent. The series 2 of the Linux kernel is not supported anymore. Take a look the list on kernel.org.