How to install libusb-0.1.so.4. onto Yocto fsl-image-qt5 sysroot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to install libusb-0.1.so.4. onto Yocto fsl-image-qt5 sysroot

跳至解决方案
6,506 次查看
hjpark71
Contributor III

Hi Guys,

I'm running Yocto fsl-image-qt5 on I.MAX6UL board and need libusb-0.1.so.4.

Please let me know how to install  libusb-0.1.so.4 on Yocto fsl-image-qt5 sysroot..

thanks a lot.

Best Regards,

HJ

标签 (1)
标记 (3)
1 解答
4,150 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  If this package (libusb) is not present in the conf/local.conf file - it will not be included in rootfs.

So, please use standard procedure to include a package :

i.MX Yocto Project: How do I add an existing package to an image?

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
4,151 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  If this package (libusb) is not present in the conf/local.conf file - it will not be included in rootfs.

So, please use standard procedure to include a package :

i.MX Yocto Project: How do I add an existing package to an image?

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

4,149 次查看
hjpark71
Contributor III

Hi Yuri,

I found the right name of image. it is "libusb-compat".

the one of difficulty is to find the right name of image to install some libs what I want.

4,149 次查看
hjpark71
Contributor III

Hi Yuri,

Many thanks for your answer..

I added libusb-0.1-4 on the conf/local.conf and run "bitbate fsl-image-qt5". but, it says "ERROR: Nothing RPROVIDES 'libusb-0.1-4' " like below

<'libusb-0.1-4'>

ERROR: Nothing RPROVIDES 'libusb-0.1-4' (but /home/hj/var-dart-6ul-yocto-fido-52/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'libusb-0.1-4' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['libusb-0.1-4']

ERROR: Required build target 'fsl-image-qt5' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'libusb-0.1-4']



and, I added libusb on the conf/local.conf and run "bitbate fsl-image-qt5". but, it says "ERROR: Nothing RPROVIDES 'libusb' " like below

<'libusb'>

ERROR: Nothing RPROVIDES 'libusb' (but /home/hj/var-dart-6ul-yocto-fido-52/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'libusb' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['libusb']

ERROR: Required build target 'fsl-image-qt5' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'libusb']



form this words

"Missing or unbuildable dependency chain was"

I need to put buildable chain but I don't know what's the right name of libusb-0.1-4 for Yocto

How can I know the buildable chains of libs for Yocto?

0 项奖励
回复
4,149 次查看
Yuri
NXP Employee
NXP Employee

Hello,

please try using name of package just "libusb".

Regards,

Yuri.

0 项奖励
回复