|
|
teddy 发表于 2016-2-14 17:02
' g+ r4 w* _' W: ? V( R4 lU-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
- P* S2 G- b B& E# V& M+ A1 W5 a/ V3 |& F) l- b( T( a# I/ X- v
可 ... $ Y! P( ?; t T
teddy,
6 E, Y# F+ @6 Q2 {/ |& b新年快乐!- E b4 V& j* o- T, z6 D* f( V
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。3 q! P% R6 i1 e9 X
, J' v: N7 g* N l+ K# ^; W0 f6 _5 m
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
3 Z2 M! v" B" ?, S3 N% Z. q0 s8 D/ t! p0 ]0 }! p9 V
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
1 J u0 |( k. B( N7 |" I( _vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function). x" O4 v9 e1 g7 ]
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in) t: ?; T5 F- U, W& Y% a) G
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)4 x+ U9 e0 k) R
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
) k1 w8 j: K! [" k# g$ Y4 {) evpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)" p- M5 N" B8 O% C4 J
vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)( d$ J8 t9 E- H) X3 l
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
1 I8 t A9 ^( i2 E0 hvpif_mmap_loopback_sd.c: In function ‘initDisplay’:3 m. H8 Q1 f# r6 o' D- L
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 7 n8 K$ U$ F+ t# }
5 Q/ l7 [7 O% U/ W' {
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?8 O1 ~% ?& v' h; T+ O8 w% |
请您再帮我看一看,谢谢。$ E% x& p+ m$ e5 z+ ~; M
|
|