[yocto] OpenCV with python3
Tim Orling
ticotimo at gmail.com
Thu Mar 15 22:29:29 PDT 2018
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/9ac9d9cc/attachment.html>
More information about the yocto
mailing list