[yocto] How to add libudev.h

idealsim idealsim at laposte.net
Thu Nov 3 05:55:19 PDT 2016

Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
	- to my local.conf
	- to myImage.bb

Le Thu, 03 Nov 2016 13:29:57 +0100, Gary Thomas <gary at mlbassoc.com> a  

> On 2016-11-03 13:19, idealsim wrote:
>> Hi all, i need to build a lib --> openZwave (on a imx6 card) libudev.h.
>> I have this error during the build :
>> /home/root/openzwave-1.4.164/cpp/hidapi/linux/hid.c:44:21: fatal error:  
>> libudev.h: No such file or directory
>> I have tried to add udev to my local.conf but this not resolve the  
>> problem.
>> How i can add it to my build please ?
> Did you try adding 'udev' to DEPENDS in your recipe?  That's
> the way bitbake knows to provide such connections (i.e. how your
> recipe can find the appropriate files during build)

Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/

More information about the yocto mailing list