Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. no opengl on "bitbake b2qt-embedded-qt5-image"...help
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PeterVEP Offline
    PeterVEP Offline
    PeterVE
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved