On quinta-feira, 16 de fevereiro de 2012 16.02.46, [email protected] wrote: > /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-g > nueabi/bin/arm-none-linux-gnueabi-g++ -Wl,-O1 -o opengles2 opengles2.o > -L/home/lucid/ltib/rootfs/usr/lib -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 > -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lfreetype -lexpat > -ljpeg -lfontconfig -lSM -lICE -lpng -L/home/lucid/ltib/rootfs/usr/lib > -lGLESv2 > /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to > `gco3D_Semaphore' > /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to > `gcoHAL_QueryTextureCaps' > /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to > `gcoHAL_Commit' > ... > ...(more undefined references to gco*)..
This is just a bad OpenGL ES library from your chip vendor. The library isn't
self-sufficient. If you try to run the following command, for example:
ldd -d -r $GLLIBPATH/libGLESv2.so
It should not report any undefined references. You'll see that your library has
a lot of them. Please report them to your board vendor so they can fix them in
a future release. You can tell them "please link your libraries with
-Wl,--noundefined".
In the meantime, add the necessary libraries that need to be linked against to
the QMAKE_LIBS_OPENGL_ES2 variable.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
