GLvoid does not name a type
-
@The-most-recent-future Do you have to use this old Qt version?
Current version is 5.8 -
@jsulm
yes. version 5.2.0
but , the error ................ can you help me?? -
@The-most-recent-future Do you build for desktop or for a device?
Also as @SGaist said you should really not develop as root - this is a very very bad idea. -
What exact options did you pass to configure before building Qt ?
-
@SGaist
./configure
-release
-opensource
-qt-libpng
-qt-zlib
-qt-libjpeg
-glib
-plugin-sql-sqlite
-qt-sql-sqlite
-make libs
-no-cups
-no-nis
-no-iconv
-no-dbus
-no-opengl
-no-xcb
-no-accessibility
-no-javascript-jit
-silent
-arch arm
-xplatform linux-arm-gnueabi-g++
-linuxfb
-nomake tools
-nomake examples
-nomake tests
-qt-freetype
-no-glib
-strip
-plugindir /root/downSource/qt-everywhere-opensource-src-5.2.0/plugins
-confirm-license "$@" -verbose -
There:
-no-opengl
. I remember there where some problem at some point building with-no-opengl
, it should have been fixed in between but I don't remember if it was prior to or after Qt 5.2.0 -
-
@SGaist
这个问题困扰了我好几天了,大神,你救救我吧!我都要哭了.... -
When changing the configure options, are you doing from a clean source ? That's the first thing to do before calling configure again.
Or better: do out of source builds, so if something goes wrong, you juste nuke the build folder and start new.
-
@SGaist
yes , make clean && make distclean
when i change the configure , i will be make clean and make distclean,
but, the error will be show . -
What does the configuration summary show ?
-
@SGaist
1 : make and make installLooks like a success data size : 108 M but, why the example files is not be generated ???
-
make -j3
compiling .moc/moc_abstractliveedittool.cpp
compiling .moc/moc_liveselectiontool.cpp
compiling .moc/moc_boundingrecthighlighter.cpp
compiling .moc/moc_zoomtool.cpp
compiling .moc/moc_colorpickertool.cpp
compiling .moc/moc_abstracttool.cpp
rm -f libqmldbg_inspector.so
linking ../../../../plugins/qml1tooling/libqmldbg_inspector.so
mv -f libqmldbg_inspector.so ../../../../plugins/qml1tooling/
make[5]: Leaving directory/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins/qmltooling/qmldbg_inspector' make[4]: Leaving directory
/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins/qmltooling'
make[3]: Leaving directory/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins' make[2]: Leaving directory
/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src'
cd tools/ && ( test -e Makefile || /home/cc/qt-everywhere-opensource-src-5.2.0/qtbase/bin/qmake /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools/tools.pro -o Makefile ) && make -f Makefile
make[2]: Entering directory/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools' make[2]: Nothing to be done for
first'.
make[2]: Leaving directory/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools' make[1]: Leaving directory
/home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1'
cc@ubuntu:~/qt-everywhere-opensource-src-5.2.0$ -
No ”example“ folder
[root@cv_soc /usr/local/Qt-5.2.0]# ls
bin/ imports/ lib/ qml/
doc/ include/ mkspecs/ translations/
[root@cv_soc /usr/local/Qt-5.2.0]# -
@SGaist
int .configure
-qt-xcbwhat packages should be install ??
-
@SGaist
Please let me know how to resolve the error. -
@SGaist
make: *** [xlib.o] Error 1
XLib disabled.
xcb auto-detection... ()
/usr/local/arm/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-g++ -c -pipe -O2 -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o xcb.o xcb.cpp
xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory
#include <xcb/xcb.h>
^
compilation terminated.
make: *** [xcb.o] Error 1
xcb disabled.
The test for linking against libxcb failed!
You might need to install dependency p -
Seems like this question is being answered here.
-
@SGaist @jsulm
/usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure: 3181: /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure: arm-linux-gnueabihf-gnueabi-g++: not found
Creating qmake...
make: Nothing to be done for 'first'.
Running configuration tests...
Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
Linux Framebuffer support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure to continue.
./configInstall.sh: line 8: /root: Is a directoryhow to do ? thanks.
-
As silly as it may sound: give configure the correct options for it to find your cross-compiler.