AnsweredAssumed Answered

USB.h missing

Question asked by chandra sekhar on Jun 9, 2016
Latest reply on Jun 12, 2016 by igorpadykov


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.

Outcomes