|
|
teddy 发表于 2016-2-14 17:02
: K* h$ D# P( IU-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
$ G' n1 N) [0 } ?! W5 M' Y
. q F' b* d' c3 H* X$ ^可 ... 9 ?7 i4 a7 E- [, t: z X6 d. _
teddy,
' L4 N; `* Q7 l& q) B3 x0 m& O新年快乐!
' c* [9 B7 } i# z+ a% r3 F8 c& f我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
# z( O; R$ g+ e: ?6 O, T2 `* O& p9 I6 ]
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:0 e# O; v! i$ Y: R
5 w7 Q! Y: Y" w
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
4 y. m$ l1 a* Rvpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function). V( K/ Q9 t7 ~/ K) ^1 c& E
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
9 p8 A( z0 Z3 r ] `( fvpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
* ]8 c; T6 ^4 S! `# j/ avpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
D* n! Z0 A5 P) N% r% A3 xvpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
1 u+ E; F5 V: Y" rvpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)( t; w5 ]# c3 U4 a4 o3 ]2 r
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
0 K& M: @* {9 x8 m* y7 ~vpif_mmap_loopback_sd.c: In function ‘initDisplay’:$ u7 b1 S2 M/ D
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 4 c* r8 ?: w6 B& }2 z1 |
9 g1 L2 Y+ A% H
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?' M; |7 ?, A+ x$ R; V* G* o+ p
请您再帮我看一看,谢谢。& t: I9 y: `/ ~6 q6 P8 a
|
|