TL2640-COMS摄像头测试 问题 - 第2页 - OMAP-L138 - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: aadcfh123
打印 上一主题 下一主题

TL2640-COMS摄像头测试 问题

[复制链接]

2

主题

10

帖子

109

积分

注册会员

Rank: 2

积分
109
11#
 楼主| 发表于 2016-2-15 10:43:58 | 只看该作者
teddy 发表于 2016-2-14 17:02! U; u; ?1 s, T6 H& L- b+ t5 c
U-Boot 2012.04.01-00059-g7363edf对应的版本是: v1.6,可以查看创龙提供的uboot-feture-support.xls;1 S( y) x' r+ F; k

0 [3 ~0 F# L, }+ o. r可 ...
, |+ J3 N2 p) p8 \7 n6 N
teddy,! f6 Q" x3 S: @4 U9 O1 f) C
新年快乐!, ], E' ^& p3 q! t" X6 m
我按照您提供的方法已经将摄像头调试清晰了。谢谢您。
+ w7 d5 S9 L6 A5 `& F6 n% n9 K- m
现在我用gcc -o vpif_mmap_loopback_sd vpif_mmap_loopback_sd.c 编译,出现了以下错误:
) o2 v  q6 Y( u: r1 d1 Y1 P! U/ H. t
vpif_mmap_loopback_sd.c: In function ‘initCapture’:1 z( M% p1 i* c
vpif_mmap_loopback_sd.c:247:36: error: ‘V4L2_STD_BAYER_320’ undeclared (first use in this function)
( n8 `' |3 F3 \: M  e4 B1 [vpif_mmap_loopback_sd.c:247:36: note: each undeclared identifier is reported only once for each function it appears in
) x; C6 C, P: z& O% @' R0 Zvpif_mmap_loopback_sd.c:252:36: error: ‘V4L2_STD_BAYER_640’ undeclared (first use in this function)$ U) S7 Q/ O* H( c' A
vpif_mmap_loopback_sd.c:257:36: error: ‘V4L2_STD_BAYER_800’ undeclared (first use in this function)
& x7 t7 R, i  x' R' w8 Vvpif_mmap_loopback_sd.c:262:36: error: ‘V4L2_STD_BAYER_1024’ undeclared (first use in this function)
, s0 Z/ Q9 g8 _+ f( r0 tvpif_mmap_loopback_sd.c:267:36: error: ‘V4L2_STD_BAYER_1280’ undeclared (first use in this function)
- \  M0 a+ h3 @1 h. x& M: Z" kvpif_mmap_loopback_sd.c:272:36: error: ‘V4L2_STD_BAYER_1600’ undeclared (first use in this function)
8 G2 i; X/ E; o5 X$ x) uvpif_mmap_loopback_sd.c: In function ‘initDisplay’:$ \  M8 V: r/ x+ t
vpif_mmap_loopback_sd.c:702:48: warning: comparison between pointer and integer ; V# n$ U. x  t
( B- t; F. w7 e) i
红色字体的变量,我在vpif_mmap_loopback_sd.c中未找到相关定义,在网上也找了一下,也没有找到,请问我在编译的时候是不是要包含一些头文件,如果需要的话,我在哪可以找到这些头文件呢?' w# s$ W$ `0 }- R  ?, S& n
请您再帮我看一看,谢谢。
) W6 r0 ?0 Y! }4 @4 F( y
回复 支持 反对

使用道具 举报

0

主题

161

帖子

1093

积分

创龙

Rank: 8Rank: 8

积分
1093
12#
发表于 2016-2-16 09:03:56 | 只看该作者
新年快乐!
3 s0 W1 M$ y, O- @# D; |在内核include/linux/videodev2.h这个文件里面有定义,可以include这个文件,或者将这几个宏定义负责到你的代码里。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-5-19 00:18 , Processed in 0.036229 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表