Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Compiling Qt5 for linux-arm-gnueabi-g++, configure fails to OpenGL ES test

$
0
0
Hi, I’m trying to compile Qt5 for linux-arm-gnueabi-g++, because I’m building crosscompile env for arm. I’m using Ubuntu 12.10 as development platform. When I run ./configure like this: ./configure -opensource -confirm-license -developer-build -nomake examples -nomake tests -opengl es2 -xplatform linux-arm-gnueabi-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi-  -v I get following error: OpenGL ES 2.x auto-detection... () arm-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o opengles2.o opengles2.cpp arm-linux-gnueabi-g++ -Wl,-O1 -o opengles2 opengles2.o   -lGLESv2 /usr/lib/gcc/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lGLESv2 collect2: error: ld returned 1 exit status make: *** [opengles2] Error 1 OpenGL ES 2.x disabled. The OpenGL ES 2.0 functionality test 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  /home/jompu/qt5/qtbase/mkspecs/linux-arm-gnueabi-g++. *** qtbase/configure exited with non-zero status. If I modify paths into qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf by adding lines: QMAKE_INCDIR_OPENGL_ES2 = /usr/include/GLES2 QMAKE_LIBDIR_OPENGL_ES2 = /usr/lib/x86_64-linux-gnu/libGLESv2.so QMAKE_LIBS_OPENGL_ES2 = I get following error with configure script: OpenGL ES 2.x auto-detection... () arm-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -I/usr/include/GLES2 -o opengles2.o opengles2.cpp arm-linux-gnueabi-g++ -Wl,-O1 -o opengles2 opengles2.o   -L/usr/lib/x86_64-linux-gnu/libGLESv2.so opengles2.o: In function `main': opengles2.cpp:(.text.startup+0xc): undefined reference to `glUniform1f' opengles2.cpp:(.text.startup+0x14): undefined reference to `glClear' collect2: error: ld returned 1 exit status make: *** [opengles2] Error 1 OpenGL ES 2.x disabled. The OpenGL ES 2.0 functionality test 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 /home/jompu/qt5/qtbase/mkspecs/linux-arm-gnueabi-g++. *** qtbase/configure exited with non-zero status.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>