USB.h missing

cancel
Showing results for 
Search instead for 
Did you mean: 

USB.h missing

529 Views
chandraevolute
Contributor V


Hi,    

I am using /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi for compiling my sources. These sources compile perfectly in normal linux machines using GCC. I am using USB driver. I have a line where it says #include<usb.h>. It throws error

compilation terminated.

MSO_Drv.c:3:17: fatal error: usb.h: No such file or directory

#include <usb.h>

I searched in /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include/linux and /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include folder and it is not present.

What is the solution to resolve this error.

Labels (2)
0 Kudos
1 Reply

175 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi chandra

please check attached Linux Manual Chapter 39 CHIPIDEA USB Driver,

sect.39.2.3 Menu Configuration Options    and verify that usb driver is included in build.

For custom "MSO_Drv" driver one can request full sources from its vendor.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos