cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ajaykumar141229
Contributor
Contributor
191 Views
Registered: ‎05-20-2019

libusb source code compilation failed in petalinux

Hello everyone,

I want to use libusb in petalinux 2020.2,and did the following so far

1.Enabled libusb library in rootfs by using petalinux-config -c rootfs

2.Then created one application named as libusb and copied my source code into it.

3.petalinux build

But i am getting the following error

libusb.c:9:10: fatal error: libusb-1.0/libusb.h: No such file or directory

I am able to see the include file in following path build/tmp/sysroots-components/aarch64/libusb1/usr/include/libusb-1.0

But still its showing No such file or directory

Can anyone please help me on this

Regards,

CN Ajay kumar

0 Kudos
0 Replies