Yocto “meta-qt5” Opengl Error



  • Hi,
    I am trying to build yocto image with qt support for bananaPro but I am getting following error

    OpenGL auto-detection... () Cannot read /home/yusuf/yocto/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.5.99+5.6.0-rc+gitAUTOINC+41706400f6-r0/git/mkspecs/oe-device-extra.pri: No such file or directory arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/yusuf/yocto/poky/build/tmp/sysroots/bananapro -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -DMESA_EGL_NO_X11_HEADERS -O2 -Wall -W -fPIC -I../../../../git/config.tests/unix/opengldesktop -I. -I../../../../git/mkspecs/linux-oe-g++ -o opengldesktop.o ../../../../git/config.tests/unix/opengldesktop/opengldesktop.cpp arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/yusuf/yocto/poky/build/tmp/sysroots/bananapro -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o opengldesktop opengldesktop.o -lGL /home/yusuf/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find -lGL collect2: error: ld returned 1 exit status Makefile:84: recipe for target 'opengldesktop' failed make: *** [opengldesktop] Error 1 OpenGL disabled. The OpenGL functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in /home/yusuf/yocto/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.5.99+5.6.0-rc+gitAUTOINC+41706400f6-r0/git/mkspecs/linux-oe-g++. WARNING: exit code 1 from a shell command. ERROR: Function failed: do_configure (log file is located at /home/yusuf/yocto/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.5.99+5.6.0-rc+gitAUTOINC+41706400f6-r0/temp/log.do_configure.31636)
    

    What is the problem?Could you help me about this problem?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.