building core-image-x11 for opencv

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

building core-image-x11 for opencv

1,424 Views
rehan_khan
Contributor III

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"

0 Kudos
Reply
3 Replies

897 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rehan

please look at building steps in

Computer Vision on i.MX Processors: Building OpenCV-2.4.X for Freescale's i.MX6 BSP (Yocto)

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

897 Views
rehan_khan
Contributor III

I am following the steps mentioned in the same link. but I dont know but there is something wrong in building yocto. please help.

0 Kudos
Reply