|
teddy 发表于 2016-2-14 17:02
& o' ?3 [4 \8 x. u: j$ nU-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
, V V, A( ], L: H" r( l( P: {9 o% v
可 ... + X0 D( v% l$ V
teddy,
/ p$ \% \) t" R4 K9 s6 D新年快乐!) H0 O# F' t& Y- o: R8 M% H
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
9 J, _+ x3 w! t0 K+ S
7 ?8 f( Y& `1 Q; c# k9 P- f现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
( @+ V8 o3 O& a R) E+ k( \$ [6 T" g- Y: P7 W
vpif_mmap_loopback_sd.c: In function ‘initCapture’:* O- C, L6 P2 Q6 K) C
vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)
& Y) }$ _7 m* Z0 K0 l& \) e9 |vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
7 O) ^# H+ K$ ^" }$ T+ rvpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
7 ]! {+ ~' ] l" \. cvpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function); Q, z0 v, a0 R
vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)0 Q+ Z3 D8 q; @! {) Z
vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)5 K. e% _7 U) j
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)7 f7 U8 r" v/ y1 `* }
vpif_mmap_loopback_sd.c: In function ‘initDisplay’:$ I. w3 {6 z7 R2 |2 ~3 C3 n" }
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer " N1 `, [3 W, Q) o3 M
+ {+ R# f9 k. e9 I. W+ u- t红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?
G- _4 G; M+ U9 ]请您再帮我看一看,谢谢。
* V7 p8 ^- y" }6 X |
|