AnsweredAssumed Answered

imx-morty with python-opencv

Question asked by Erik Raynolds on Mar 10, 2018
Latest reply on Mar 16, 2018 by Joan Xie



per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release Yocto Project manifests of imx-morty branch I have built fsl-image-qt5 image. 


Now I need to add to my yocto build image "python-opencv" support. By adding to the local.conf


IMAGE_INSTALL_append += "python-opencv" 

the build ends up with error


ERROR: Multiple versions of opencv are due to be built (/home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-openembedded/meta-oe/recipes-support/opencv/ /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv/ Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_opencv to select the correct version or don't depend on multiple versions.


How to add to the Yocto image the python-opencv binding for opencv 3.2?