Luvcvideo application installation problems

Source: Internet
Author: User
Luvcvideo application installation problems-General Linux technology-Linux technology and application information, the following is a detailed description. Now I want to test the uvc camera in ubuntu12.04. many people on the Internet say that the luvcvideo application can be used and transplanted to the development board. Then, a source code is immediately downloaded from the Internet. After referring to a lot of online materials, we all talked about how to perform the test after installation. But when talking about how to install the luvvideo application to the pc liunx system, we haven't mentioned it. it's just a simple one, make or make install. I thought it was very simple, not just make it, but a small case. Decompress the package and make. found many problems. Of course, I also solved some problems. For example, if the SDL library system does not exist, you can query the information and install the SDK successfully. The header file linux/videodev. h is also fixed. However, after solving these problems, compile in make, but there are the following problems:

Gcc-DUSE_SDL-O2-DLINUX-DVERSION = \ "0.2.1 \"-I-I/usr/include/SDL-D_GNU_SOURCE = 1-D_REENTRANT-DUSE_SDL-O2-DLINUX-DVERSION = \" 0.2.1 \ "-I-I/usr/include/SDL-D_GNU_SOURCE = 1-D_REENTRANT-c-o luvcview. o luvcview. c
In file sorted ded from luvcview. c: 46: 0:
V4l2uvc. h: 48: 28: Error: The type of the field 'cap' is incomplete.
V4l2uvc. h: 49: 24: Error: The type of the field 'fmt' is incomplete.
V4l2uvc. h: 50: 24: Error: The type of the field 'buf' is incomplete.
V4l2uvc. h: 51: 32: Error: The type of the field 'RB' is incomplete.
Luvcview. c: In the 'main' function:
Luvcview. c: 222: 18: Error: 'v4l2 _ PIX_FMT_MJPEG 'is not declared (used for the first time in this function)
Luvcview. c: 222: 18: Note: Each undeclared identifier is reported only once in the function it appears.
Luvcview. c: 270: 12: Error: 'v4l2 _ PIX_FMT_YUYV 'is not declared (used for the first time in this function)
Luvcview. c: In the 'eventthread' function:
Luvcview. c: 579: 25: Error: 'control' storage size unknown
Luvcview. c: 637: 31: Error: 'v4l2 _ CID_BRIGHTNESS 'is not declared (used for the first time in this function)
Luvcview. c: 642: 31: Error: 'v4l2 _ CID_CONTRAST 'is not declared (used for the first time in this function)
Luvcview. c: 647: 31: Error: 'v4l2 _ CID_SATURATION 'is not declared (used for the first time in this function)
Luvcview. c: 651: 39: Error: 'v4l2 _ cid_gain' not declared (used for the first time in this function)
Luvcview. c: 656: 31: Error: 'v4l2 _ CID_PRIVATE_BASE 'is not declared (the first time in this function
How to allow time, give guidance as much as possible, and how to use it)
Luvcview. c: 660: 49: Error: 'v4l2 _ CID_GAMMA 'is not declared (used for the first time in this function)
Luvcview. c: 688: 33: Error: 'v4l2 _ CID_HUE 'is not declared (used for the first time in this function)
Luvcview. c: 822: 45: Error: 'vidioc _ S_CTRL 'is not declared (used for the first time in this function)
Make: *** [luvcview. o] Error 1


It seems that the header file is missing, but the information on the internet is currently queried, and a solution cannot be found at the moment. if you forget to give directions. By the way, if the compilation is successful, whether to directly execute the application or make other modifications. Thank you ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.