|
ACE WinCE编译失败
编译环境VS 2005,系统XP SP2。
config.h内容:
#include "config-win32.h"
编译命令(基于命令行编译,将输出重定向到文本文件,否则输出会被冲掉,错误无法追踪):
D:\ACE-5.7.6\ACE_wrappers>devenv ACE_vc8_WinCE.sln /rebuild "DEBUG" >> c:\build_wince.txt
总体报错信息:
Build log was saved at "file://d:\ACE-5.7.6\ACE_wrappers\ACEXML\apps\svcconf\Deb
ug\ACEXML_XML_Svc_Conf_Parser_vc8_WinCE\I386\BuildLog.htm"
ACEXML_XML_Svc_Conf_Parser - 0 error(s), 0 warning(s)
========== Rebuild All: 617 succeeded, 1 failed, 0 skipped ==========
看文本文件,里面的报错信息有:
------ Rebuild All started: Project: FaCENOACE, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'FaCENOACE', configuration 'Debug|Win32'
Compiling...
Main.cpp
d:\ace-5.7.6\ace_wrappers\contrib\face\FaCE.h(20) : fatal error C1189:#error : This project can not be built for H/PC Pro 2.11 or earlierplatforms.
FaCE.cpp
d:\ace-5.7.6\ace_wrappers\contrib\face\FaCE.h(20) : fatal error C1189:#error : This project can not be built for H/PC Pro 2.11 or earlierplatforms.
CE_Screen_Output.cpp
.\CE_Screen_Output.cpp(109) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [20]' to 'LPSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\CE_Screen_Output.cpp(118) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [20]' to 'LPSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\CE_Screen_Output.cpp(127) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [20]' to 'LPSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\CE_Screen_Output.cpp(145) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [20]' to 'LPSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\CE_Screen_Output.cpp(154) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [20]' to 'LPSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
CE_ARGV.cpp
Generating Code...
Build log was saved at "file://d:\ACE-5.7.6\ACE_wrappers\contrib\FaCE\Debug\FaCENOACE_vc8_WinCE\I386\BuildLog.htm"
FaCENOACE - 7 error(s), 0 warning(s)
编译输出的详细信息放在附件中了:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?用户注册
×
|