现在的位置: 首页 > 综合 > 正文

Wince CE 6.0 – 生成OS映像文件 – 错误报告1 – 缺失tsvc_dst.DLL

2017年12月18日 ⁄ 综合 ⁄ 共 1810字 ⁄ 字号 评论关闭

 

 

警告:

makeimg: Warning Localization FAILED: Could not find C:/WINCE500/ .../tsvc_dst.DLL|EXE|CPL

 

参考:

http://www.eggheadcafe.com/software/aspnet/30256141/localisation-of-timesrv-.aspx

 

1. In the Plaftform/<Platname>/FILES folder, create or add to the file PreMakeImage.bat the following:
@echo off
echo PreMakeImg.bat entry.
pushd %_FLATRELEASEDIR%
if EXIST timesvc.dll (
echo Found timesvc.dll, renaming to tsvc_dst.dll
rename timesvc.dll tsvc_dst.dll
)
popd
echo PreMakeImg.bat exit.
@echo on

2. In the Plaftform/<Platname>/FILES folder, create or add to the file PreRomImage.bat the following:

@echo off
echo PreRomImage.bat entry.
pushd %_FLATRELEASEDIR%
if EXIST tsvc_dst.dll (
echo Found tsvc_dst.dll, renaming to timesvc.dll
rename tsvc_dst.dll timesvc.dll
)
popd
echo PreRomImage.bat exit.
@echo on

 

增加完这两个bat, 再次编译,输出日志:

(1147)makeimg: Check for C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/DeviceEmulator_ARMV4I_Release/PreMakeImg.bat to run.

 

 

(1455)makeimg: Check for C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/DeviceEmulator_ARMV4I_Release/PreRomImage.bat to run.

(1456)makeimg: Change directory to C:/WINCE600.

(1457)makeimg: run command: cmd /C C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/DeviceEmulator_ARMV4I_Release/PreRomImage.bat romimage C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/DeviceEmulator_ARMV4I_Release/ce.bib

 

貌似...PreMakeImg.bat只check但没执行, PreRomImage.bat 倒是执行了,,,

注意!!! 新建的是PreMakeImage.bat. 但是日志里check的是PreMakeImg.bat ! 

 

FILES/下修改为PreMakeImg.bat,查看日志,果然

 

makeimg: Check for C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/MyEmulatorBSP_ARMV4I_Release/PreMakeImg.bat to run.

makeimg: Change directory to C:/WINCE600.

makeimg: run command: cmd /C C:/WINCE600/OSDesigns/MyOSDesign/MyOSDesign/RelDir/MyEmulatorBSP_ARMV4I_Release/PreMakeImg.bat MakeImg

PreMakeImg.bat entry.

Found timesvc.dll, renaming to tsvc_dst.dll

PreMakeImg.bat exit.

恩,bat里的命令正常执行了,看来应该是PreMakeImg.bat这个文件名啊,大概是ce5.0和ce6.0的一点小区别吧

 

 

 

抱歉!评论已关闭.