How to add libudev.h
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 ?
Quoted 5 lines · idealsim
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)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
- to my local.conf
or
- to myImage.bb
Regards,
Quoted 11 lines · Gary Thomas
Quoted 5 lines · idealsim
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)
Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
Quoted 8 lines · idealsim
Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
- to my local.conf
or
- to myImage.bb
Regards,
If you want to do compiling inside the image, the easy way is to just add dev-pkgs to IMAGE_FEATURES for the image recipe. This gives you all of the headers for everything installed, which will include the udev headers assuming that your image has udev.
Ross
Ok, i will try to add dev-pkgs to my recipe here https://github.com/modjo756/meta-udoo-modjo/blob/krogoth-modjo/qt5-layer/recipes-qt/images/udoo-image-qt5.bb and add udev to my local.conf. I let you know if it's work...
Mickael
Quoted 13 lines · Ross
Quoted 7 lines · idealsim
Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
- to my local.conf
or
- to myImage.bb
Regards,If you want to do compiling inside the image, the easy way is to just add dev-pkgs to
IMAGE_FEATURESfor the image recipe. This gives you all of the >headers for everything installed, which will include the udev headers assuming that your image has udev.Ross
Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
Re: <DKIM> Re: How to add libudev.h
Hi, it works fine ( dev-pkgs + DEPENDS).
thanks
Mickaël
Quoted 23 lines · idealsim
Ok, i will try to add dev-pkgs to my recipe here https://github.com/modjo756/meta-udoo-modjo/blob/krogoth-modjo/qt5-layer/recipes-qt/images/udoo->image-qt5.bb and add udev to my local.conf. I let you know if it's work...
MickaelQuoted 10 lines · Ross
Quoted 7 lines · idealsim
Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
- to my local.conf
or
- to myImage.bb
Regards,Quoted 3 lines
If you want to do compiling inside the image, the easy way is to just add dev-pkgs to
IMAGE_FEATURESfor the image recipe. This gives you all of >>the headers for everything installed, which will include the udev headers assuming that your image has udev.Ross
--Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
Quoted 6 lines · idealsim
Thanks for your answer.
It seems that i didn't have DEPENDS = "udev".
How i can add it ?
- to my local.conf
or
- to myImage.bb
I would add it to your recipe, then it should build under any circumstance.
Quoted 12 lines · Gary Thomas
Quoted 11 lines · idealsim
Quoted 5 lines
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)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------