|
teddy 发表于 2016-2-14 17:02
9 N8 I5 ~# D3 h" B6 Q; X' VU-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
* n2 [/ w/ M: x8 |
4 Y& g& G! s v3 f) K! _可 ...
+ h! p/ [! ?: A4 F& Wteddy,9 e% R, H4 ?& Q: \4 c- Q
新年快乐!
9 N6 s+ Q: ~# g. b) @我按照您提供的方法已经将摄像头调试清晰了。谢谢您。& X6 b3 j: C4 b8 y- ^* f
" e' C+ B7 }, v3 |2 V
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
% |6 z! A1 W4 l7 i, Z1 G2 t& w: `
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
# E5 V5 p/ d2 O# M& M1 N0 h4 Evpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)! c+ y5 u; h6 r# y
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in$ b0 m. k% H3 h, }4 ]
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function), w. k6 t8 F* |# g7 T1 G z% L
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
* w; s1 e8 F' l9 K9 P1 n& svpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
! c3 }8 Y8 _! k* ~( nvpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)/ M5 y+ K% u5 S/ ?
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)( n: q. O# S! F0 c8 d/ n" f' [) U
vpif_mmap_loopback_sd.c: In function ‘initDisplay’:
% Z8 b4 F2 V$ ^2 q! ]2 cvpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 9 v& e1 Z+ ^+ b1 r V# D' U8 }
; s+ V' {; W5 w( E: z/ R( b6 M& U红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?
) [7 g/ k& s a请您再帮我看一看,谢谢。
7 H$ F" \* _' @& W# M |
|