[yocto] OpenCV with python3

Peter Balazovic balazovic.peter at gmail.com
Fri Mar 16 00:09:30 PDT 2018


That I was thinking to have “python3-opencv” but it's failing to build

I found opencv_3.1.bbappend with my sources where I see

PACKAGECONFIG_remove_imx = "eigen python3"

I guess that might causing a problem to build opencv for python3... I'll
remove and check again to build.

BTW what's the benefit of using CORE_IMAGE_EXTRA_INSTALL over
IMAGE_INSTALL_append ?


On Fri, Mar 16, 2018 at 6:29 AM, Tim Orling <ticotimo at gmail.com> wrote:

> Ditto for Robert’s comment. Please look at the bitbake manual and
> understand what the syntax means [1].
>
> Also,  “python-foo” means the python2 version. The default PACKAGECONFIG
> [2] for opencv builds for python3. You need “python3-opencv”.
>
> Finally, I would encourage you to use CORE_IMAGE_EXTRA_INSTALL [3] rather
> than IMAGE_INSTALL in the local.conf context.
>
> [1] https://www.yoctoproject.org/docs/current/bitbake-user-
> manual/bitbake-user-manual.html#appending-and-prepending
> [2] http://cgit.openembedded.org/meta-openembedded/tree/
> meta-oe/recipes-support/opencv/opencv_3.3.bb?h=master#n90
> [3] https://www.yoctoproject.org/docs/current/ref-manual/
> ref-manual.html#var-CORE_IMAGE_EXTRA_INSTALL
>
> On Thu, Mar 15, 2018 at 5:57 AM Robert P. J. Day <rpjday at crashcourse.ca>
> wrote:
>
>> On Thu, 15 Mar 2018, Peter Balazovic wrote:
>>
>> > Hello all,
>> > I have python module of OpenCV for python 2.7 on my Yocto image adding
>> via local.conf
>> >
>> > IMAGE_INSTALL_append += “ python-opencv”
>>
>>   i know i've harped on this before, but can people please stop
>> combining the constructs "_append" and "+=" in the same expression?
>>
>> rday--
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180316/c9e3c592/attachment.html>


More information about the yocto mailing list