[yocto] How to add libudev.h

Gary Thomas gary at mlbassoc.com
Thu Nov 3 05:29:57 PDT 2016


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)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list