How to build custom OpenCV to Yocto project?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build custom OpenCV to Yocto project?

472 Views
Contributor II

Hello all.

I have question about OpenCV in Yocto project (git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga) .

When I use Yocto project to porting i.MX6 quad board, I cannot use Videowriter in OpenCV.

So I want to update Yocto project's OpenCV library.

First, I downloaded and built OpenCV 2.4.11 (It is same version with Yocto project's OpenCV)

As you know, 1) Yocto project's OpenCV and 2) another OpenCV what I downloaded consist of different file structure such as 'toolchain.cmake'.

How can I update OpenCV from 2) to 1) in Yocto project?

Or Can I use 'cmake' command to build 2) OpenCV to Yocto project?

I need your help.

Thanks,

BR.

Labels (3)
Tags (2)
2 Replies

17 Views
NXP TechSupport
NXP TechSupport

Hi Yongdeuk,

you can just add

 

IMAGE_INSTALL_append " \

cmake \

 

You can run bitbake -s | grep cmake to see the avaliable options.

17 Views
Contributor II

Thanks for replying, Bio_TICFSL!

IMAGE_INSTALL_append " \

cmake \

What you said is about 'local.conf', right?

But, when Yocto project image(fsl-image-gui or fsl-image-qt5) built, OpenCV 2.4.11 is included without any options.

Please tell me details about your comments :smileyhappy:

Thanks,

BR.

0 Kudos