Qt5 Alpha - Cross Compiling for i.MX Board
-
Hi,
I am running into problems during the compiliation.
Following errors occured:
/home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference togco3D_Semaphore' /home/lucid/ltib/rootfs/usr/lib/libEGL.so: undefined reference to
gcoOS_Delay'
/home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference togcoHAL_QueryTextureCaps' /home/lucid/ltib/rootfs/usr/lib/libEGL.so: undefined reference to
gcoHAL_Commit'
.. (other undefined references to gco*)That's my configure:
./configure -opensource -confirm-license -nomake tests -prefix /home/lucid/qtInstalled -opengl -xplatform linux-arm-gnueabi-g++ -xcb -vThis is the includes/libs part of my qmake.conf:
QMAKE_INCDIR = /home/lucid/ltib/rootfs/usr/include
QMAKE_LIBDIR = /home/lucid/ltib/rootfs/usr/libQMAKE_INCDIR = /home/lucid/ltib/rootfs/usr/include
/home/lucid/ltib/rootfs/usr/include/glib-2.0
/home/lucid/ltib/rootfs/usr/lib/glib-2.0/include/
/home/lucid/ltib/rootfs/usr/include/gstreamer-0.10/ \
/home/lucid/ltib/rootfs/usr/include/libxml2/
/home/lucid/ltib/rootfs/usr/include/freetype2QMAKE_LIBS = -lglib-2.0 -lgthread-2.0 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lfreetype -lexpat -ljpeg -lfontconfig -lSM -lICE -lpng -lEGL -lGLESv2 -lgstreamer-0.10
QMAKE_INCDIR_OPENGL_ES2 = /home/lucid/ltib/rootfs/usr/include/GLES2
QMAKE_LIBDIR_OPENGL_ES2 = /home/lucid/ltib/rootfs/usr/lib
QMAKE_INCDIR_EGL = /home/lucid/ltib/rootfs/usr/include/EGL
QMAKE_LIBDIR_EGL = /home/lucid/ltib/rootfs/usr/libQMAKE_LIBS_OPENGL_ES2 = -lGLESv2
QMAKE_LIBS_EGL = -lEGL
QMAKE_LIBS_THREAD = -lpthreadBest regards
-
I think you need to link another lib in QMAKE_LIBS variable which has gco* functions included.
Sorry I don't know about that lib, Maybe it come with libEGL.so .... -
I had the same thought, too, but the question is which exact library is missing.
Any ideas? -
qtd1d1,
I am having the same error compiling Qt4.8.2 for the imx6. Did you ever find a solution to this problem?
-
It is libGAL-x11.so. But after this I got problem with libX11 now...