|
|
teddy 发表于 2016-2-14 17:02- Y, _7 l! H. l6 ?1 A
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
( _7 ~- [+ X3 y2 z' z* `) F0 Q* b, g. o5 O: l: F
可 ...
f7 g) ]- T0 C# M- o8 jteddy,$ |+ r% r7 F+ A6 H! t: o2 V
新年快乐!1 `1 ~1 d; d0 K
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。' j# O% D3 X+ G6 L' U. H
( F; J# z/ ]# b/ c
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
2 I" F7 [! v7 e5 |& t8 V6 W0 S, H- V' z+ s
vpif_mmap_loopback_sd.c: In function ‘initCapture’:+ M4 J# L4 R% K1 m# X0 @
vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function): E" E' ^% A; Z
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in4 a# Y2 \) m- n$ l3 x+ k$ }
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
0 x! M; D0 K- x4 F% X* `. m4 K* rvpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
- F r# @8 ]5 J/ ^vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
& t0 G* F4 O- W( q" o- ]vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
: G* F1 V! a% @, nvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)- H2 x n3 S/ R! D" F& W0 r, W
vpif_mmap_loopback_sd.c: In function ‘initDisplay’:, X, o c9 z) Z* d2 P f6 N
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 6 \; S) Z" P* B! |
m1 p" \9 |! b. O; P红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?
: t! I% f( |; U% L l% P0 ^请您再帮我看一看,谢谢。
/ X8 O6 A, S+ r( T |
|