天嵌 ARM开发社区

 找回密码
 注册
查看: 3931|回复: 13

摄像头测试程序

[复制链接]
fengzhongfeixue 发表于 2009-12-12 03:05:19 | 显示全部楼层 |阅读模式
我编译后出现了下面的错误
d:\backup\我的文档\visual studio 2005\projects\ov9650_test\ov9650_test\OV9650_TestDlg.h(27) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>OV9650_TestDlg.cpp
1>d:\backup\我的文档\visual studio 2005\projects\ov9650_test\ov9650_test\OV9650_TestDlg.h(27) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\OV9650_TestDlg.cpp(189) : error C2065: 'hCam' : undeclared identifier
1>.\OV9650_TestDlg.cpp(191) : error C2065: 'INVALID_HANDLE' : undeclared identifier
1>.\OV9650_TestDlg.cpp(221) : error C2065: 'IDC_Close' : undeclared identifier
1>.\OV9650_TestDlg.cpp(221) : error C2227: left of '->Invalidate' must point to class/struct/union/generic type
1>.\OV9650_TestDlg.cpp(221) : error C2065: 'TURE' : undeclared identifier
1>.\OV9650_TestDlg.cpp(242) : error C2065: 'FILE_DEVICE_VIDEO' : undeclared identifier
1>.\OV9650_TestDlg.cpp(242) : error C2065: 'METHOD_NEITHER' : undeclared identifier
1>.\OV9650_TestDlg.cpp(242) : error C2065: 'FILE_ANY_ACCESS' : undeclared identifier
1>.\OV9650_TestDlg.cpp(242) : error C3861: 'CTL_CODE': identifier not found
1>.\OV9650_TestDlg.cpp(247) : error C3872: '0x3000': this character is not allowed in an identifier
1>.\OV9650_TestDlg.cpp(248) : error C2065: ' ' : undeclared identifier
1>.\OV9650_TestDlg.cpp(248) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>.\OV9650_TestDlg.cpp(248) : error C2146: syntax error : missing ';' before identifier 'ret'
1>.\OV9650_TestDlg.cpp(248) : error C2275: 'BOOL' : illegal use of this type as an expression
1>        D:\Program Files\Windows CE Tools\wce500\TQ2440A\include\ARMV4I\windef.h(159) : see declaration of 'BOOL'
1>.\OV9650_TestDlg.cpp(248) : error C2065: 'ret' : undeclared identifier
1>.\OV9650_TestDlg.cpp(249) : error C3861: 'CTL_CODE': identifier not found
1>Generating Code...
1>生成日志保存在“file://d:\Backup\我的文档\Visual Studio 2005\Projects\OV9650_Test\OV9650_Test\TQ2440A 2 (ARMV4I)\Debug\BuildLog.htm”
1>OV9650_Test - 18 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
楼主  咋回事啊
 楼主| fengzhongfeixue 发表于 2009-12-12 22:11:29 | 显示全部楼层
楼主帮帮忙啊
 楼主| fengzhongfeixue 发表于 2009-12-13 17:05:39 | 显示全部楼层
楼主 帮帮忙 啊
亚瑟王 发表于 2009-12-14 10:53:07 | 显示全部楼层
你的应用程序是自己做的还是使用我们提供的ov9650_test的源码?
你的这个错误提示和你的VS2005有关系。
 楼主| fengzhongfeixue 发表于 2009-12-14 13:02:47 | 显示全部楼层
程序是你们提供的
亚瑟王 发表于 2009-12-14 14:24:20 | 显示全部楼层
我刚刚又从光盘里面拷贝出来,编译了一遍,没有问题啊。我认为是你的VS2005有问题,因为你给出来的错误提示信息是:
d:\backup\我的文档\visual studio 2005\projects\ov9650_test\ov9650_test\OV9650_TestDlg.h(27) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
这个应该是和你的VS2005有关。
 楼主| fengzhongfeixue 发表于 2009-12-14 21:16:02 | 显示全部楼层
楼主 我把我的项目传上 你帮我看看哪里错了吧谢谢了 看我做的有没有问题
 楼主| fengzhongfeixue 发表于 2009-12-14 22:47:40 | 显示全部楼层
楼主帮帮忙 你看看我做的有错没有 我把它传上了[local]1[/local]谢谢了
 楼主| fengzhongfeixue 发表于 2009-12-14 22:49:57 | 显示全部楼层
[local]1[/local]我的工程
 楼主| fengzhongfeixue 发表于 2009-12-14 22:59:34 | 显示全部楼层
大于2M咋办啊楼主
 楼主| fengzhongfeixue 发表于 2009-12-15 00:10:14 | 显示全部楼层
其中stop 和play函数你看我加的对不对

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
亚瑟王 发表于 2009-12-17 18:19:52 | 显示全部楼层
你现在是编译问题不是代码写没写对的问题。
 楼主| fengzhongfeixue 发表于 2009-12-19 00:00:02 | 显示全部楼层
是我的软件的问题吗
亚瑟王 发表于 2009-12-19 10:07:14 | 显示全部楼层
我认为是。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-19 18:16 , Processed in 1.046875 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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