AnsweredAssumed Answered

building core-image-x11 for opencv

Question asked by Rehan Khan on Apr 25, 2016
Latest reply on Apr 25, 2016 by igorpadykov

Hi

I am trying to build bsp using yocto for imx6 phyflex board. I have modified the local.conf file for opencv development but I am getting following error

bitbake core-image-x11

Parsing recipes: 100% |###############################################################################################################| Time: 00:03:01

Parsing of 1689 .bb files complete (0 cached, 1689 parsed). 2217 targets, 136 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

ERROR: Nothing RPROVIDES 'gpu-viv-bin-mx6q' (but /opt/fsl-community-bsp/sources/poky/meta/recipes-graphics/images/core-image-x11.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'gpu-viv-bin-mx6q' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['gpu-viv-bin-mx6q']

ERROR: Required build target 'core-image-x11' has no buildable providers.

Missing or unbuildable dependency chain was: ['core-image-x11', 'gpu-viv-bin-mx6q']

 

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

I am attaching my local.conf here for reference

 

MACHINE ??= 'imx6qsabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks dev-pkgs"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    STOPTASKS,/tmp,100M,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K \

    ABORT,/tmp,10M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

BB_NUMBER_THREADS = '4'

PARALLEL_MAKE = '-j 4'

CORE_IMAGE_EXTRA_INSTALL += "gpu-viv-bin-mx6q gpu-viv-bin-mx6q-dev"

CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"

CONF_VERSION = "1"

 

LICENSE_FLAGS_WHITELIST = "commercial"

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = "1"

Outcomes