天嵌 ARM开发社区

 找回密码
 注册
查看: 3722|回复: 3

SDK does not have DCOM错误

[复制链接]
poway 发表于 2011-1-25 15:02:59 | 显示全部楼层 |阅读模式
我用TQ2440提供的SDK安装后,用VS2005编译wince6.0的一个hello,没问题。但用自己生成的SDK安装后编译出错:
1>------ 已启动生成: 项目: mytest1, 配置: Debug pw_SDK1 (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>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\afxce.h(41) : fatal error C1083: Cannot open include file: 'aygshell.h': No such file or directory
1>生成日志保存在“file://d:\My Documents\Visual Studio 2005\Projects\mytest1\mytest1\pw_SDK1 (ARMV4I)\Debug\BuildLog.htm”
1>mytest1 - 1 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
 楼主| poway 发表于 2011-1-26 14:36:00 | 显示全部楼层
第一个错误解决了。编译SDK时选择Component Services (COM and DCOM)
天嵌_support1 发表于 2011-1-27 11:14:56 | 显示全部楼层
:)
 楼主| poway 发表于 2011-1-27 13:09:09 | 显示全部楼层
第二个错误fatal error C1083: Cannot open include file: 'aygshell.h': No such file or directory
编译SDK时选择shell and user Interface --shell--AYGshell API set
问题解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

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

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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