cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
1,554 Views
Registered: ‎03-30-2017

petalinux 2017.2, uvc.h is missing

Need to build an application to run on ZCU 102 ES2. It needs uvc.h. Looked through Petalinux 2017.2 files and it wasn't there. Has this file been replaced/removed? Should I use something else? 

0 Kudos
2 Replies
Highlighted
Voyager
Voyager
1,532 Views
Registered: ‎06-24-2013

Re: petalinux 2017.2, uvc.h is missing

Hey @rail.shafigulin,

 

Looked through Petalinux 2017.2 files and it wasn't there.

Your UVC gadget test application seems to use the uvc.h from the Linux Kernel (drivers/usb/gadget/function/uvc.h) which requires the kernel source to be built.

 

Has this file been replaced/removed?

Just checked and it is still in the Kernel Source where it belongs.

 

Should I use something else?

No, probably all you need to do is add the kernel source to your build and/or use the kernel source for building it.

(actually the uvc.h itself should suffice)

 

Hope this helps,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
Highlighted
1,475 Views
Registered: ‎03-30-2017

Re: petalinux 2017.2, uvc.h is missing

@hpoetzl

Just checked and it is still in the Kernel Source where it belongs

Can you point me to its location? I looked through Petalinux 2017.2 source and didn't see it.

 

No, probably all you need to do is add the kernel source to your build and/or use the kernel source for building it.

(actually the uvc.h itself should suffice)

 

How does one add the kernel source to the build? I've never done this. Any help is appreciated.

0 Kudos