|
teddy 发表于 2016-2-14 17:02 N7 t, `& o7 h# }7 T4 S3 j) f' k
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;6 b' m2 B% z7 u7 u& J
7 }% g& L6 X$ F" S* B/ U' T
可 ... ; q2 ^3 P9 [4 Z8 ^
teddy,, c! [+ @! {, _0 G( o* ]. N
新年快乐!# S$ q0 G" g7 D) m4 H4 I" f& S
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。; p1 a4 c K- V: @2 o
( J# X8 ^& }4 a* T% M$ f6 X- T0 g& I
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:& p! o9 l* L- e: ]
1 q& h& h$ h) V! \8 Y" C) f! K
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
( ?9 j# I& |7 Q) ?; Tvpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)( y* i/ q* Z5 P/ ~
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in7 l6 S! E3 `# V
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
: M- F8 h0 e! |- D6 `vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
5 z- d+ s2 s" `0 g8 @vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
. l D8 W9 m% a# q" H$ ?vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
9 t" R; ~6 P' U) L8 i5 @- D! X+ Tvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
+ W; N% p h* T; ?vpif_mmap_loopback_sd.c: In function ‘initDisplay’:
. I" b; ] B2 `% _vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer
# F3 J( c* S5 z% ?5 F# w5 u% ]% ?+ [( r t4 H
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?
2 l9 H" ?+ ] l( G请您再帮我看一看,谢谢。
% L9 Z: |* G% G# P' E. w1 A0 d |
|