XP搭建wince6.0环境

来源:互联网 发布:java面试试题及答案 编辑:程序博客网 时间:2024/06/07 00:32

这几天因工作需要学些了在XP上搭建wince6.0,现将主要步骤记录一下,以供参考。

1.       安装VS2005(中文版)

2.      VS2005 SP1补丁(对应中文版补丁)VS80sp1-KB926604-X86-CHS

3.      Windows Embedded CE6.0

此步骤中会需要用户下载一百多个cab文件,参照:http://www.blogjava.net/lusm/archive/2007/12/07/166130.html帖子

4.       Windows Embedded CE6.0 Platform Builder ServicePack 1(默认安装即可)

5.       Wince6.0 R2(默认安装即可)  

6.       WinCEPB60-081231-Product-Update-Rollup-Armv4I(08年的补丁汇总包) (默认安装即可)

在这一步骤的时候查看过网上好多帖子,需要安装06,07年补丁包,此处我只安装了08年汇总包,公司另一个同事没有安装任何补丁包还是继续可以使用

7.       Wince6.0 R3(默认安装即可

此步骤同第三部也需要下载好多cab文件,参照:http://blog.csdn.net/knock/article/details/4758608帖子

8.       安装模拟器  vs_emulator

通过以上步骤就可以搭建完成wince6.0环境


编译项目的时候:

Debug模式中,需要禁用Build Options里的Enable KITL(否则,模拟器会黑屏!)


第一次编译的时候可能会出现如下问题:

1、

在build.log提示:“C:\WINCE600\public\common\oak\misc\sources.ReleaseType_OAK
NMAKE : fatal error U1073: don't know how to make 
'C:\WINCE600\OSDesigns\Testce\Testce\Wince600\DeviceEmulator_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\atlsd.lib'

解决办法:Search for "ATL" in your catalog items view and make sure "Active Template 
Library (ATL)" is checked. In our case it was not. After adding this item the 
build succeeded.

大意就是:在你的 catalog items中搜索“ATL”,找到“Active Template Library (ATL)”是否被选中,如果选中,以上的问题可以解决,本人试过了,确实这个问题OK了

2、我在用PB定制一个Windows CE 6.0系统时,编译的时候报错:
PB Debugger Warning:  Debugger service map is set to none.  If your image has debugging support it may not boot properly.
PB Debugger Cannot initialize the Kernel Debugger.
PB Debugger Debugger could not initialize connection.
PB Debugger The Kernel Debugger is waiting to connect with target.
PB Debugger The Kernel Debugger has been disconnected successfully.

此问题的解决方法:

编译完成后点击菜单Target-->Connectivity Options,设置成下图的模式(设置Download,Transport和Debugger)


点击Apply,然后Close就可以了。


在此提供其它比较详细的搭建wince6.0帖子:

1.http://blog.csdn.net/htttw/article/details/7323201

Windows XP安装WinCE6.0开发环境


2.http://blog.csdn.net/xgx198831/article/details/8209499 

wince6.0 don't know how to make**错误



 

0 0
原创粉丝点击