|
|
teddy 发表于 2016-2-14 17:02; T) c( S2 n3 w
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;9 ^4 p1 ]0 o! J9 y# S; b
/ s& ?) o$ s8 H7 m5 b
可 ...
( e: G( I' X. ^# O- Lteddy,2 j9 u; O; S0 A9 Z
新年快乐!
5 R0 b& w9 M# Q& N; P我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
* [5 d/ R3 a7 T3 ]% Q, F2 j% F6 D' u( i+ f4 j: s
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
, P7 T, s( P* v5 s2 s/ ^* e/ B) I9 @ s1 J5 B
vpif_mmap_loopback_sd.c: In function ‘initCapture’:- C- {- I- \ e
vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)6 J# n( _$ l" L! j3 N) g5 X* h
vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
; d2 {- _9 R% m/ H3 n9 [+ D2 Svpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function). X$ n6 B( ~1 \- ~. Q
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)( Z, B; [( {; k, v5 w: O
vpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)0 l; v$ r3 B* A( Q% k6 J& M' I
vpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
+ W* Q1 h* @# s& V* e7 l# wvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
3 j/ d( \- S) Q8 y5 C; X$ Nvpif_mmap_loopback_sd.c: In function ‘initDisplay’:8 k; o1 D6 z& D- l
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer ) e9 n& R8 I0 s! Y, M4 u& C4 H
1 ]$ \3 Q* \1 I
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?1 p. Y; J# p) u$ d3 w) n- V8 Y7 ?7 B3 x
请您再帮我看一看,谢谢。4 e: _" P' @( S5 X3 E; n9 V2 y
|
|