[oe] opencv 3.1 gcc 6 compile errors

Khem Raj raj.khem at gmail.com
Wed Jun 22 20:08:22 UTC 2016


> On Jun 3, 2016, at 3:37 AM, Jack Mitchell <ml at embed.me.uk> wrote:
> 
> I'm hitting compile errors with opencv 3.1 and gcc6. I've been playing with disabling/enabling different options to try get round the issues but it's too widespread.
> 
> There is a patch upstream [1] which says it fixes the issues but it doesn't seem to help.
> 
> I've attached the build log without the patch, and the build log with the patch, if anyone has ideas then please shout up.
> 

Such errors usually means that package is violating gcc include hierarchy. either by using -isystem and trying to sneak some headers in the middle of the supposed hierarchy. So you should look into getting rid of any -system that the package might
be specifying in its build system.

> Cheers,
> Jack.
> 
> [1] https://github.com/Itseez/opencv/pull/6541/commits/a0fdc91a14f07de25d858037940fcd3ba859b4e2
> <opencv.log><opencv-gcc6patch.log>--
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160622/bae37cc8/attachment-0002.sig>


More information about the Openembedded-devel mailing list