> On Nov 24, 2016, at 2:40 AM, Peter Balazovic <[email protected]> 
> wrote:
> 
> Dears,
> 
> I'm building Yocto image and this includes OpenCV 2.4 release. 
> 
> For example my loca.conf looks similar as 
> http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/
>  
> <http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/>:
> 
> ..
> CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev
> libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"
> ..
> 
> 
> I have located recipes *.bb @
> ../sources/meta-openembedded/meta-oe/recipes-support/opencv/
> opencv_2.4.bb <http://opencv_2.4.bb/>
> opencv_3.0.bb <http://opencv_3.0.bb/>
> 
> *.bbapend @
> ../sources/meta-fsl-arm/openembedded-layer/recipes-support/opencv/
> opencv_2.4.bbappend
> opencv_3.0.bbappend
> 
> Within fsl-imx-base.inc I can see reference to opencv_2.4.bbappend
> ../sources/meta-fsl-bsp-release/imx/meta-sdk/conf/distro/include
> 
> ..
> BBMASK .= 
> "|meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_2.4.bbappend"
> ..
> 
> but replacing with 3.0 doesn't compile with 3.0.
> 
> I'd like to have OpenCV 3.0 installed. 
> 
> 1) How/what to modify/configure to get installed OpenCV 3.0 into image ?

3.0 is set to be not preferred version if you see the main .bb you will see 

DEFAULT_PREFERENCE = "-1”

remove that and it will kick in

> 2) How to control OpenCV build for Yocto and how packageconfig option to use 
> to turn on/off individual OpenCV options? 
> 
> 
> Thank you for your advice very much.
> 
> -- 
> _______________________________________________
> yocto mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/yocto

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to