|
teddy 发表于 2016-2-14 17:02
3 d& z6 o4 L" HU-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;& |- X: A% T# [
1 C+ F7 J% R1 b; d! l: ?
可 ...
H" v5 w( R8 @7 P6 |teddy,2 @& M$ A9 d& F5 t- e* f
新年快乐!
; \" [1 p- f: T7 x% ^" f我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
8 w8 q; Y4 ~# [. n
8 l p5 g( F/ E' A T d8 S1 _现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:4 w! A) o, ~* C- i G+ o% ^9 n
2 ]- p' I; g' C) ]6 x
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
. w3 c1 B! r. x+ i3 `vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)3 b' r. C; l g
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
. n! r# |8 q% f1 p$ r3 C, T N/ vvpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)/ n0 Q$ [8 Q2 j& l9 q% Y, w
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function); ^* z% ?- p: t1 [; w7 M
vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
5 y& I/ ~* b2 o V" bvpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)+ \2 d$ O }$ J2 D0 J. W+ j+ `% ]
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)- X; c: N* r; h |
vpif_mmap_loopback_sd.c: In function ‘initDisplay’:
7 b) ?/ p; J# o3 W- ]vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer ( K+ a7 S6 C) v- S1 m2 \
, t6 @; \. J5 o* t" s* q0 z红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?. j: t3 m2 h7 ^0 s: `" z
请您再帮我看一看,谢谢。, Y4 K& D2 s8 E: Z6 o; A, W
|
|