no opengl on "bitbake b2qt-embedded-qt5-image"...help



  • Hello,

    I am building my custom rootfs as I need to add packages to it. As this is a product, I do not want to just install things on the fly using the booted target system. I want to build it on the host system and have it be repeatable. With that said, I have a few requirements and opencv with opengl support is one of them. I can get opencv to compile and onto the rootfs by placing this into my local.conf...

    IMAGE_INSTALL_append += "opencv pciutils"
    IMAGE_INSTALL_append += "libopencv-core-dev"
    IMAGE_INSTALL_append += "libopencv-highgui-dev"
    IMAGE_INSTALL_append += "libopencv-imgproc-dev"
    IMAGE_INSTALL_append += "libopencv-objdetect-dev"
    IMAGE_INSTALL_append += "libopencv-ml-dev"
    IMAGE_INSTALL_append += "opencv-apps"
    IMAGE_INSTALL_append += "opencv-dev"
    IMAGE_INSTALL_append += "python-opencv"
    #IMAGE_INSTALL_append += "python-modules”
    IMAGE_INSTALL_append += "imx-gpu-viv"

    With this, there is configuring opencv. In build/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_2.4.bb I have added a few lines to the variable that looks like the config variable (EXTRA_OECMAKE) ...

                 -DWITH_OPENGL=ON \
    

    The compiling of opencv works except in looking at "build/build-apalis-imx6/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/temp/log.do_compile", except the important part I need is not found...

    -- GUI:
    -- QT: NO
    -- GTK+ 2.x: NO
    -- GThread : NO
    -- GtkGlExt: NO
    -- OpenGL support: NO
    -- VTK support: NO

    I have then added or edited these two lines in my local.conf...

    DISTRO_FEATURES_append += "opengl"
    IMAGE_INSTALL_append += "opengl opencv pciutils"

    Here's the problem now...

    $ bitbake b2qt-embedded-qt5-image
    Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
    Loaded 2638 entries from dependency cache.
    Parsing recipes: 100% |###############################################################################################################################################| Time: 00:00:00
    Parsing of 2066 .bb files complete (2064 cached, 2 parsed). 2637 targets, 412 skipped, 35 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies
    **ERROR: Nothing RPROVIDES 'opengl' (but /home/rrneng/svn/mcs/build/sources/meta-boot2qt/recipes-qt/images/b2qt-embedded-qt5-image.bb RDEPENDS on or otherwise requires it)
    NOTE: Runtime target 'opengl' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['opengl']
    ERROR: Required build target 'b2qt-embedded-qt5-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['b2qt-embedded-qt5-image', 'opengl']
    **

    What am I missing?

    Thank you for your time!

    Cheers,
    Pete


Log in to reply
 

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