天嵌 ARM开发社区

 找回密码
 注册
查看: 3063|回复: 5

CMOS摄像头测试程序

[复制链接]
raycmort 发表于 2010-5-4 08:31:31 | 显示全部楼层 |阅读模式
各位好,我按照《天嵌科技出品--WinCE开发完全手册(V2.3)_20100125.pdf》里面的第六章“CMOS摄像头测试程序开发”做了,结果编译出现如下错误:
1>------ 已启动全部重新生成: 项目: OV9650_Test, 配置: Debug TQ2440A_SDK (ARMV4I) ------
1>正在删除项目“OV9650_Test”(配置“Debug|TQ2440A_SDK (ARMV4I)”)的中间文件和输出文件
1>正在编译...
1>stdafx.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(879) : warning C4996: 'wcsncpy' was declared deprecated
1>        d:\program files\windows ce tools\wce600\tq2440a_sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1>        Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(893) : warning C4996: '_vsnwprintf' was declared deprecated
1>        d:\program files\windows ce tools\wce600\tq2440a_sdk\include\armv4i\stdlib.h(382) : see declaration of '_vsnwprintf'
1>        Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(910) : warning C4996: '_vsnprintf' was declared deprecated
1>        d:\program files\windows ce tools\wce600\tq2440a_sdk\include\armv4i\stdlib.h(377) : see declaration of '_vsnprintf'
1>        Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1075) : warning C4996: 'wcsncpy' was declared deprecated
1>        d:\program files\windows ce tools\wce600\tq2440a_sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1>        Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1123) : warning C4996: 'wcsncpy' was declared deprecated
1>        d:\program files\windows ce tools\wce600\tq2440a_sdk\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'
1>        Message: 'This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(157) : warning C4996: '_strlwr' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(240) : see declaration of '_strlwr'
1>        Message: 'This function or variable may be unsafe. Consider using _strlwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(167) : warning C4996: '_wcslwr' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(189) : see declaration of '_wcslwr'
1>        Message: 'This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(192) : warning C4996: '_wcslwr' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(189) : see declaration of '_wcslwr'
1>        Message: 'This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(209) : warning C4996: '_wcsupr' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(190) : see declaration of '_wcsupr'
1>        Message: 'This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(226) : warning C4996: '_wcsupr' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(190) : see declaration of '_wcsupr'
1>        Message: 'This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(291) : warning C4996: '_gcvt' was declared deprecated
1>        D:\Program Files\Windows CE Tools\wce600\TQ2440A_SDK\include\ARMV4I\stdlib.h(529) : see declaration of '_gcvt'
1>        Message: 'This function or variable may be unsafe. Consider using _gcvt_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>正在编译...
1>OV9650_Test.cpp
1>OV9650_TestDlg.cpp
1>.\OV9650_TestDlg.cpp(109) : error C2065: 'FILE_DEVICE_VIDEO' : undeclared identifier
1>.\OV9650_TestDlg.cpp(109) : error C2065: 'METHOD_IN_DIRECT' : undeclared identifier
1>.\OV9650_TestDlg.cpp(109) : error C2065: 'FILE_ANY_ACCESS' : undeclared identifier
1>.\OV9650_TestDlg.cpp(109) : error C3861: 'CTL_CODE': identifier not found
1>.\OV9650_TestDlg.cpp(112) : error C2065: 'METHOD_NEITHER' : undeclared identifier
1>.\OV9650_TestDlg.cpp(112) : error C3861: 'CTL_CODE': identifier not found
1>.\OV9650_TestDlg.cpp(120) : error C3861: 'CTL_CODE': identifier not found
1>.\OV9650_TestDlg.cpp(123) : error C3861: 'CTL_CODE': identifier not found
1>Generating Code...
1>生成日志保存在“file://d:\My Documents\Visual Studio 2005\Projects\OV9650_Test\OV9650_Test\TQ2440A_SDK (ARMV4I)\Debug\BuildLog.htm”
1>OV9650_Test - 8 个错误,11 个警告
========== 全部重新生成: 0 已成功, 1 已失败, 0 已跳过 ==========

请问是什么问题?谢谢!
 楼主| raycmort 发表于 2010-5-4 09:32:27 | 显示全部楼层
呵呵,原来是少了个头文件#include "winioctl.h"
lightning 发表于 2010-5-6 10:49:00 | 显示全部楼层
楼主你好,请问你现在是在做基于wince系统的ov9650摄像头的程序吗?可以和你交流交流吗?我的QQ158814911
xyhyou 发表于 2010-5-9 21:33:17 | 显示全部楼层
请问OV9650是属于WDM模式的驱动吗
亚瑟王 发表于 2010-5-10 20:52:03 | 显示全部楼层
流驱动。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-6 10:33 , Processed in 1.032266 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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