|
|
teddy 发表于 2016-2-14 17:02. L2 F. x9 W/ x* b/ K' U& R% u4 s
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;6 t0 f+ s& P1 C1 x3 Y
& B1 A$ f6 Q) V a可 ...
" g4 c9 a. e1 O' O: l' Uteddy,
4 }+ r" F" ]+ Z- T新年快乐!/ t1 y: P: b( ?8 l" o* Q
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。' f; D. {3 F0 H5 r% [
. e. V) m! g( ^' x% _& s* Q现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:8 R, J& N) P) K8 R0 J2 }; y9 u
( L; d6 t! g; M5 e" n5 x& [
vpif_mmap_loopback_sd.c: In function ‘initCapture’:
$ D! g/ C4 s6 Z% j9 I" g9 mvpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)6 m1 X* |- z: e& V$ ^9 D: }4 u
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in& i4 Z. F2 \3 X
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)# Q9 G3 s4 l2 l0 ]2 z; e
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)- R" H% O2 s" J! z" X4 O
vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
- j I& k5 A" @! L; @- X$ ~vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
. D! b7 K7 u* G/ B6 |2 |, A# Mvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
, e! B4 H( p' Dvpif_mmap_loopback_sd.c: In function ‘initDisplay’:
+ m# X% m( @8 r- x& _vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 1 Y% L& J D# j; p
, N, d3 x: t/ e, [. D2 @
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?( r! t, Q$ L% h( ?# I3 t0 X; L# [; X; K/ k
请您再帮我看一看,谢谢。! ]% O" D5 F! w) j3 L' y$ n" B
|
|