Oh, I have just replied simultaneously to the change on Gerrit which broke the build for Harmattan: https://codereview.qt-project.org/#change,28334
>From my comment on gerrit: "The problem is that the libgles2-sgx-img-dev package does not ship such headers that would consist of the "GLchar" definition." apt-get install libgles2-sgx-img-dev Reading package lists... Done Building dependency tree Reading state information... Done libgles2-sgx-img-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded. I have also tried "apt-get install --reinstall libgles2-sgx-img-dev" just for making sure, but did not help. Laszlo On Sat, Aug 25, 2012 at 11:22 AM, Sean Harmer <sean.har...@kdab.com> wrote: > Hi, > > For some reason your system GLES2/gl.h header does not contain a typedef > for > GLchar. Is there a more up to date GLES2/gl.h header available for this > system? > > Sean > > On Saturday 25 August 2012 03:43:49 Laszlo Papp wrote: > > Hi, > > > > I can build the code fine from master with a snapshot in May using the > same > > opengl/gles/gles2 installation. However, the code from master with a > > snapshot made yesterday, does not build with the same Harmattan > packaging. > > See the config summary and build failure below. I believe, I have already > > installed everything opengl/gles/gles2 related as it is also reported as > > found according to the configure run. > > > > Unfortunately, I have no more ideas. Any help is appreciated. > > > > Laszlo > > > > Build type: linux-g++-maemo > > Architecture: arm, features: neon > > Host architecture: arm, features: neon > > > > Build .................. libs tools > > Configuration .......... qpa largefile precompile_header neon pcre > > minimal-config small-config medium-config large-config full-config > > fontconfig evdev xlib xrender xcb-xlib linuxfb c++11 egl eglfs opengl > > opengles2 shared qpa reduce_exports reduce_relocations clock-gettime > > clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify > > system-jpeg system-png png system-freetype system-zlib nis iconv glib > > gstreamer dbus openssl xcb xinput2 rpath alsa pulseaudio icu concurrent > > audio-backend v8 release > > Debug .................. no > > C++11 support .......... yes > > pkg-config ............. yes > > QtDBus module .......... yes (run-time) > > QtConcurrent code ...... yes > > QtGui module ........... yes > > QtWidgets module ....... yes > > JavaScriptCore JIT ..... To be decided by JavaScriptCore > > QML debugging .......... yes > > PCH support ............ yes > > iWMMXt support ......... no > > NEON support ........... yes > > IPv6 ifname support .... yes > > getaddrinfo support .... yes > > getifaddrs support ..... yes > > Accessibility .......... no > > NIS support ............ yes > > CUPS support ........... no > > Iconv support .......... yes > > Glib support ........... yes > > GStreamer support ...... yes > > PulseAudio support ..... yes > > Large File support ..... yes > > GIF support ............ plugin > > JPEG support ........... plugin (system) > > PNG support ............ yes (system) > > zlib support ........... system > > Session management ..... auto > > libudev support ........ no > > OpenGL support ......... yes (OpenGL ES 2.x) > > OpenVG support ......... no > > XShape support ......... auto > > XVideo support ......... auto > > XSync support .......... auto > > Xinerama support ....... runtime > > Xcursor support ........ runtime > > Xfixes support ......... runtime > > Xrandr support ......... runtime > > Xi support ............. no > > Xi2 support ............ yes > > MIT-SHM support ........ auto > > FontConfig support ..... yes > > XKB Support ............ auto > > immodule support ....... yes > > GTK theme support ...... no > > SQLite support ......... plugin (qt) > > OpenSSL support ........ yes (run-time) > > Alsa support ........... yes > > libICU support ......... yes > > PCRE support ........... qt > > Xcb support ............ limited (old version) > > Xrender support ........ yes > > XInput2 support ........ yes > > EGLFS support .......... yes > > DirectFB support ....... no > > LinuxFB support ........ yes > > KMS support ............ no > > > > arm-linux-gnueabi-g++ -c -include .pch/release-shared/QtGui -g -O2 -O2 > > -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W > > -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV > -DQT_NO_USING_NAMESPACE > > -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII > > -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER > > -DQT_DEPRECATED_WARNINGS -DQT_NO_OPENTYPE -DQT_NO_DEBUG -DQT_CORE_LIB > > -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE > > -I../../mkspecs/linux-g++-maemo -I. -I../../include -I../../include/QtGui > > -I../../include/QtGui/5.0.0 -I../../include/QtGui/5.0.0/QtGui -Iimage > > -I../3rdparty/harfbuzz/src -I../../include/QtCore > > -I../../include/QtCore/5.0.0 -I../../include/QtCore/5.0.0/QtCore > > -I.moc/release-shared -o .obj/release-shared/qwindowsysteminterface.o > > kernel/qwindowsysteminterface.cpp > > In file included from > ../../include/QtGui/../../src/gui/opengl/qopengl.h:57, > > from ../../include/QtGui/qopengl.h:1, > > from > > > ../../include/QtGui/5.0.0/QtGui/qpa/../../../../../src/gui/kernel/qplatformo > > penglcontext.h:59, from > > ../../include/QtGui/5.0.0/QtGui/qpa/qplatformopenglcontext.h:1, > > from > > > ../../include/QtGui/5.0.0/QtGui/qpa/../../../../../src/gui/kernel/qplatformw > > indow.h:59, from > > ../../include/QtGui/5.0.0/QtGui/qpa/qplatformwindow.h:1, > > from kernel/qwindowsysteminterface.cpp:42: > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:921: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:922: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:995: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1063: error: ISO > > C++ forbids declaration of 'GLchar' with no type > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1063: error: > > expected ',' or '...' before '*' token > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1064: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1075: error: ISO > > C++ forbids declaration of 'GLchar' with no type > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1075: error: > > expected ',' or '...' before '*' token > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1076: error: ISO > > C++ forbids declaration of 'GLchar' with no type > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1076: error: > > expected ',' or '...' before '*' token > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1188: error: ISO > > C++ forbids declaration of 'GLchar' with no type > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1188: error: > > expected ',' or '...' before '*' token > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1215: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1452: error: > > 'GLchar' has not been declared > > ../../include/QtGui/../../src/gui/opengl/qopengles2ext.h:1492: error: > > 'GLchar' has not been declared > > make[3]: *** [.obj/release-shared/qwindowsysteminterface.o] Error 1 > > make[3]: Leaving directory `/home/lpapp/qt5/qtbase/qt5-base/src/gui' > > make[2]: *** [sub-gui-make_first] Error 2 > > make[2]: Leaving directory `/home/lpapp/qt5/qtbase/qt5-base/src' > > make[1]: *** [sub-src-make_first] Error 2 > > make[1]: Leaving directory `/home/lpapp/qt5/qtbase/qt5-base' > > dh_auto_build: make -j1 returned exit code 2 > > make: *** [build] Error 9 > > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > -- > Dr Sean Harmer | sean.har...@kdab.com | Senior Software Engineer > Klarälvdalens Datakonsult AB, a KDAB Group company > Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) > KDAB - Qt Experts - Platform-independent software solutions > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development