Qtopia-interest Archive, April 2007
About cross-compile Qtopia Core-4.3.0beta and OpenGL module
Message 1 in thread
Hi,
i am studying software developing of embedded OpenGL, so i download your opensoure Qtopia Core-4.3.0beta for my study.
now, I have cross-compiled Qtopia Core-4.3.0beta for my ARM PXA270 board. my compiler is armv4l, version 2.95.2 20000516 release. but I found that the module 'src/opengl' have not been compiled. so I enter 'src/opengl' to compile it then, but the compiling process crash when some errors occored, following is message:
------------------------------------
armv4l-unknown-linux-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_OPENGL_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_FREETYPE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtGui -I../../include/QtGui -I../../include -I../../include/QtOpenGL -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -I../../include/QtCore -I../../include/QtCore -I../../include/QtGui -I../../include/QtGui -I../../include -I../../include/QtOpenGL -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qgl.o qgl.cpp
In file included from qgl.cpp:26:
qgl.h:51: GLES/gl.h: ?????????
In file included from qgl.cpp:30:
qgl_p.h:64: GLES/egl.h: ?????????
In file included from qgl.cpp:26:
qgl.h:56: syntax error before `;'
qgl.h:235: syntax error before `('
qgl.h:237: syntax error before `('
qgl.h:239: syntax error before `('
qgl.h:241: `GLuint' was not declared in this scope
qgl.h:241: parse error before `)'
qgl.h:371: syntax error before `('
qgl.h:373: syntax error before `('
qgl.h:375: syntax error before `('
qgl.h:376: `GLuint' was not declared in this scope
qgl.h:376: parse error before `)'
In file included from ../../include/QtOpenGL/private/qglextensions_p.h:1,
from qgl_p.h:68,
from qgl.cpp:30:
...
...
...
------------------------------------
it seems that some header files are missed needed by the module. and then I read the document 'http://doc.trolltech.com/4.2/qtopiacore-opengl.html', so I download the gl header file from "http://www.khronos.org/egl/", but compiling errors still exist.
what's wrong? which website can I download the missing files?
how can i cross-compile the opengl module and the opengl example?
please help me.
thanks in millions!
------------------------------------
Regards,
duwchy
2007-04-23
--
[ signature omitted ]