找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 4335|回复: 2

ACE WinCE编译失败

[复制链接]
发表于 2010-2-28 15:51:51 | 显示全部楼层 |阅读模式
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)

编译输出的详细信息放在附件中了:

本帖子中包含更多资源

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

×
发表于 2010-2-28 16:57:26 | 显示全部楼层
我有几年嵌入式开发的经验。
你编译的平台选择貌似有点问题,看提示,说是不支持?
 楼主| 发表于 2010-3-1 01:41:54 | 显示全部楼层
原帖由 winston 于 2010-2-28 16:57 发表
我有几年嵌入式开发的经验。
你编译的平台选择貌似有点问题,看提示,说是不支持?
VS 2005版本有问题?
还是其他什么问题?
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-23 08:31 , Processed in 0.022503 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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