[oe] [yocto] problem with openCV

Philip Balister philip at balister.org
Mon Sep 12 13:12:06 UTC 2016


On 09/12/2016 12:00 AM, Szymon Guza wrote:
> Do you have any tips for me? Where should I search those patches? Or where
> I can find recipes for more recent version? Or Can you tell me if there is
> 1.0 version for openCV available for Yocto?

Use the layer index to find recipes for opencv.

Use google to find upstream opencv project and read about it.

Philip

> 
> 2016-09-11 22:20 GMT+02:00 Philip Balister <philip at balister.org>:
> 
>> On 09/11/2016 02:10 PM, Szymon Guza wrote:
>>> Hello,
>>>
>>> I want to create my own yocto disto image based on core-image-weston with
>>> C/C++ compliers and openCV. But when I'm trying to bitbake openCV error
>>> appears:
>>>
>>> | -- Configuring incomplete, errors occurred!
>>> | See also "/home/admin/Zynq/poky/build/tmp/work/i586-poky-linux/
>>> opencv/3.1+gitAUTOINC+92387b1ef8-r0/build/CMakeFiles/CMakeOutput.log".
>>> | See also "/home/admin/Zynq/poky/build/tmp/work/i586-poky-linux/
>>> opencv/3.1+gitAUTOINC+92387b1ef8-r0/build/CMakeFiles/CMakeError.log".
>>> | WARNING: exit code 1 from a shell command.
>>> | ERROR: Function failed: do_configure (log file is located at
>>> /home/admin/Zynq/poky/build/tmp/work/i586-poky-linux/
>> opencv/3.1+gitAUTOINC+
>>> 92387b1ef8-r0/temp/log.do_configure.7661)
>>> ERROR: Task 278 (/home/admin/Zynq/poky/meta-
>> openembedded/meta-oe/recipes-
>>> support/opencv/opencv_3.1.bb, do_configure) failed with exit code '1'
>>>
>>> It is connected with this:
>>>
>>> This recipe is *blacklisted* by the meta-oe
>>> <https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/
>>>
>>> layer. The reason provided is:
>>>
>>> BROKEN: fails to build with gcc-6
>>
>> This is telling you you need to update the recipe by finding or writing
>> patches so the opencv builds with gcc6. Try looking for a more recent
>> version of opencv and/or patches to address the compile problems.
>>
>> Philip
>>
>> Philip
>>
>>>
>>> ??
>>> Am I right or openCV is now unavailable? Or Am i doing something wrong?
>>> I am looking forward to hearing from you.
>>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>



More information about the Openembedded-devel mailing list