USB.h missing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB.h missing

1,102件の閲覧回数
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.

ラベル(2)
0 件の賞賛
返信
1 返信

748件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛
返信