Building later Opencv versions in Yocto

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

Building later Opencv versions in Yocto

983 Views
davidvescovi
Contributor V

I am following the NXP eIQ direction to build some machine learning based platforms based on IMX8M.

The Linux 4.14.98_2.0.0 Yocto build just fine and works. My issues is it looks to build and include OpenCV 4.0.1.

I would like to use a later version (4.1.0 or 4.2) as I need an API not included with 4.0.1.

I tried just changing from:

 

PREFERRED_VERSION_opencv = "4.0.1%"

to:

PREFERRED_VERSION_opencv = "4.1.0%"

in the local.conf file but it still looks to be building 4.0.1 and it eventually fails.

Is it possible to include a later version of OpenCV?

0 Kudos
1 Reply

867 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello David,

You needed to take some dependencies. Don´t know what they are but I think you are looking for PACKAGECONFIG recipe variable, you can find more, info in here:

http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PACKAGECONFIG A good recipe example would be ffmpeg.

Regards

 

0 Kudos