[oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency

Tom Hochstein tom.hochstein at nxp.com
Wed Feb 8 17:42:50 UTC 2017



> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-bounces at lists.openembedded.org] On
> Behalf Of Martin Jansa
> Sent: Tuesday, February 07, 2017 6:01 AM
> To: openembedded-devel at lists.openembedded.org
> Subject: Re: [oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency
> 
> On Fri, Jan 27, 2017 at 04:54:00PM -0600, Tom Hochstein wrote:
> > Fix build error:
> >
> > fatal error: assimp/Importer.hpp: No such file or directory
> 
> I'm was able to build qt3d without this dependency, is there something
> in your config which enabled it? Or is it autodetected from sysroot
> which wont be an issue anymore with master and RSS, but your change
> doesn't fix the autodetection for older branches.

We do enable assimp from another recipe.

I am unable to reproduce the original problem either.

Without the explicit dependency, it would seem that the build would at best be non-deterministic, enabling or disabling assimp support based solely on the timing of the Yocto tasks. I'm not aware of the technologies you allude to. Do they provide some determinism for this case?

> 
> > Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
> > ---
> >  recipes-qt/qt5/qt3d_git.bb | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
> > index 2276c36..7c31213 100644
> > --- a/recipes-qt/qt5/qt3d_git.bb
> > +++ b/recipes-qt/qt5/qt3d_git.bb
> > @@ -19,6 +19,7 @@ PACKAGECONFIG ??= ""
> >  PACKAGECONFIG_class-native ??= "tools-only"
> >  PACKAGECONFIG_class-nativesdk ??= "tools-only"
> >  PACKAGECONFIG[tools-only] = "CONFIG+=tools-only"
> > +PACKAGECONFIG[assimp] = ",,assimp"
> >
> >  EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}"
> >
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> >
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openembedded.org%2Fmailman%2Flistinfo%2Fopenembedde
> d-
> devel&data=01%7C01%7Ctom.hochstein%40nxp.com%7Cfa462298ac744a52797808d44f50f020%7C686ea1d3bc2b4c6fa92cd99c5c301635
> %7C0&sdata=mLf9Lt9hQ5Rn8Ygbq7PczLY4Ix%2BscnMCbhC%2BDyUwLLM%3D&reserved=0
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



More information about the Openembedded-devel mailing list