WinCE定制错误搜集

1. 杀毒软件对CE定制的影响,当遇到类似错误可以考虑将杀毒软件暂时禁用,再定制一次就OK。

错误1:

错误信息:

I am trying to create a nk image for an OMAP Processor but I couldn't properly build an image I keep getting errors in the sysgen and build phases and my build log file shows  as

ERROR: Res2Res: Could not open C:/WINCE600/public/common/oak/lib/ARMV4I/retail/0411/shcore.res.
ERROR: Res2Res: Could not open C:/WINCE600/public/common/oak/lib/ARMV4I/retail/0411/shcore.res.
Res2Res: Error adding resources (-1)
NMAKE : fatal error U1077: 'res2res' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: 'C:/WINCE600/sdk/bin/i386/nmake.exe' : return code '0x2'
Stop.

 

错误2:

错误信息:

ERROR: Res2Res: Res2Res:  ERROR: Line: 267  File: f:/macallan2/private/winceos/tools/rescommon/checksum.cpp
ERROR: Res2Res: Res2Res:  ERROR: Line: 267  File: f:/macallan2/private/winceos/tools/rescommon/checksum.cpp
Res2Res: Error adding resources (-1)
NMAKE : fatal error U1077: 'res2res' : return code '0xffffffff'

NMAKE : fatal error U1077: 'C:/WINCE600/sdk/bin/i386/nmake.exe' : return code '0x2'
Stop.

 

2. 在sysgen时报如下error信息

Can't create hard link (FAT file system?)

BUILDREL: Copying PLATFORMCOMMON binaries from C:/WINCE600/platform/common

Can't create hard link. (FAT file system?)

Copying files instead of creating hard links.

--->

hard link应该是在NTFS的文件系统上才能用?
Can't create hard link. (FAT file system?)
Copying files instead of creating hard links.
提示信息应该是说因为是FAT的文件系统,所以不能创建hard link,用拷贝的方式代替创建hard link了。

可以在编译选项里选择Use Xcopy Instead Of Links To Populate Release Directory试试看

 

3. 重复引起的错误

错误 94 Catalog Id "StringTable:MS:Deviceemulator:1041" duplicated in files "D:/WINCE600/platform/DEVICEEMULATOR/catalog/1041/deviceemulatorstrings.pbcxml" and "D:/WINCE600/platform/DEVICEEMULATOR/catalog/1033/deviceemulatorstrings.pbcxml" and "D:/WINCE600/platform/MyEmulatorBSP/catalog/1033/deviceemulatorstrings.pbcxml" with equivalent version numbers. Ignoring second record (file "D:/WINCE600/platform/MyEmulatorBSP/catalog/1033/deviceemulatorstrings.pbcxml"). D:/WINCE600/platform/MyEmulatorBSP/catalog/1033/deviceemulatorstrings.pbcxml 0

 

以上错误是两个不同pbcxml里包含同样的Catalog Id,常理来讲,不同的pbcxml里包含同样的ID是很有可能的事情,关键导致的原因"...with equivalent version numbers...",所以实际作怪的是这两个pbcxml使用的version numbers同名了,也就是.pbcxml中的FileVersion,将其修改为不同,一切就会好了,我是这样搞的!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

JXES智能生态系统

如文章对你有用,请作者喝个咖啡

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值