|
teddy 发表于 2016-2-14 17:02% ?1 c# {" k. u5 _' ?' J! ?
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;' z6 H& l: \. _* p( Z
1 L+ p% p" @9 q$ Y- s可 ...
9 i+ v. i# ~0 o, m# m* |. k. K$ ?teddy,
; T4 q7 q4 z4 `8 G. D新年快乐!; ~6 Z2 n( o( }9 A7 c) R0 ~( L9 ~1 C
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
: ^* J/ s5 U# [0 k5 k/ R* g
) Z l0 I# C) \& X: e8 b2 k现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:3 {" v6 i: H% n7 U6 y& R
9 g, R5 p' _$ O) K3 }vpif_mmap_loopback_sd.c: In function ‘initCapture’:
( `1 T# N4 K* a# e* t& Gvpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function); [' e: x- w# V# u8 Q& K
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in8 o o2 a! I. _5 P" A2 o
vpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)
3 ~/ J, L- k* ^. j. [$ [" Rvpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)2 ]8 F e! \8 w* H- e% s! n! M7 F2 N
vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)6 K' u: { \! i
vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
- H3 _* f. g4 d b6 d. Cvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
5 j- y' F( X) z2 W7 R" zvpif_mmap_loopback_sd.c: In function ‘initDisplay’:
& k4 J7 B: V) E: b( J' \vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer
; X, _7 u7 F+ [- D2 E8 h5 B `' Z6 i2 I h/ `
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?
9 ]. Z$ Q8 J# k6 L' {请您再帮我看一看,谢谢。
& P$ m' A, b% |8 U) U |
|