Unsolved I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?
-
@Dang-Vu What "output file"? You just execute configure with -v parameter, copy all its output, open a text editor, paste the stuff there and safe it as file (or paste it here). That's all.
With RaspberryPi it will be similar. See here https://wiki.qt.io/RaspberryPi_Beginners_Guide -
@jsulm it file you need, sir!
https://drive.google.com/file/d/0BxlMhouhD6_YYlN4N3R6b2Faazg/view
please downloads it!
my confifguresudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -no-opengl -gui -no-widgets -openssl -no-qml-debug -v
-
@Dang-Vu Why do you disable OpenGL: -no-opengl ?
-
@jsulm oh sorry! my mistake, but when i delete it the result is same! i will upload file sir!
-
@Dang-Vu
my file i fix Sir!https://drive.google.com/file/d/0BxlMhouhD6_YN2ltT3hmcjE2NVE/view
my configure sir
sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
-
Your configure again contains -no-opengl
-
@jsulm oh! sr....i coppy wrong! but it's still error
WARNING: Accessibility disabled. This configuration of Qt is unsupported. ERROR: Feature 'egl' was enabled, but the pre-condition 'features.opengl && (features.angle || libs.egl)' failed. ERROR: Feature 'eglfs' was enabled, but the pre-condition 'features.egl' failed. ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
out put here!
https://drive.google.com/file/d/0BxlMhouhD6_YdE0zaWhxQV9Uc3M/view
sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
-
@Dang-Vu Your sysroot is missing OpenGL libs:
/home/ngocvu/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lGL
OpenGL ES failed as well:
/mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `_glapi_tls_Dispatch'
not sure what lib is missing.
-
@jsulm oh! how can i fix this error? trouble opengl it's terrible! i will research this error and if really necessary i will contact to mesa! thanks sir!
-
@jsulm maybe cause a debian.img? i will try some various image to check out!
-
@Dang-Vu If you're running Debian you can simply install needed packages (including -dev packages) for OpenGL.
-
@jsulm said in I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?:
(including -dev packages
i was installed:
sudo apt-get install build-essential libgl1-mesa-dev sudo apt-get install freeglut3 freeglut3-dev mesa-common-dev sudo apt-get install libglut3-dev sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6 apt-get install mesa-utils
on debian....
can deficient some packed? -
I met the same problem when i execute the command "./configure" in linux alpine. just see this https://forum.qt.io/topic/78224/opengl-test-failed-when-configure-qt-asource