| 
 | 
 
各位好,我按照《天嵌科技出品--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 已跳过 ========== 
 
请问是什么问题?谢谢! |   
 
 
 
 |