|
teddy 发表于 2016-2-14 17:02+ I4 \0 d# C5 @
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;
2 R) [- H6 J0 H7 w, O2 z9 R& x" g
* M' Z, h: H& ]" z( ~9 z, k可 ... - }6 l; Y! ?* b' ~
teddy," O- b* x% p! u% ^5 } S# r1 G% R
新年快乐!
" j+ W, a; d- L" n, g- K我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
1 w" A' h7 c5 J; Q: K; S. T+ E% L
9 E. Y1 I0 z. y' @现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:# z6 y/ B6 `& D' b, d
& R+ Y3 T3 \, N& nvpif_mmap_loopback_sd.c: In function ‘initCapture’:
8 l3 ~& E$ G7 s3 n" v; Kvpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)
: C/ D% w* Q3 ?vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
8 ^$ Q, `% [. f; Kvpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
3 K: s7 }) o+ `3 V2 hvpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
/ F6 R4 M6 x) p' W4 m6 Pvpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)6 V0 F) n# y) M& l! r& u& Q' ]( ]
vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)$ C+ N6 R1 @2 y" _/ z& z/ i7 p& r* a
vpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)3 b7 Q: F" L! Y0 V
vpif_mmap_loopback_sd.c: In function ‘initDisplay’:, D3 c; U3 w0 S' R% s/ R2 {
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer 6 N8 ]) W/ l7 S
' L9 C8 n9 u" D红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?# a- Y" [. b" _0 ^: p1 w( o+ L5 [
请您再帮我看一看,谢谢。& `7 c- x6 d5 P7 @+ C$ K' I3 T$ r
|
|