wince5编译SDK出错的解决办法

编译SDK出错
    After you successfully build a Microsoft Windows CE 5.0 run-time image in Microsoft Platform Builder 5.0, you try to build the software development kit (SDK) by using the SDK Wizard. When you try to build the SDK, you may receive the following error message:
    It is recommended that you build a run-time image before building an SDK. Otherwise, the build process for your SDK might not succeed. Do you want to continue?

    If you click Yes to continue, you may receive the following error message that is generated by the SDK build:
    Rolling sysgen'ed headers and libs
    …
    Error: This build configuration has not been sysgen'ed
    Error adding sysgen'ed headers and libs
    Error rolling toolkit-specific files
    MSI file construction completed. 3 error(s), 0 warning(s).
   
    解决方法:
    To work around this problem, first verify that you have successfully built the operating system at least one time and that you have not modified the operating system design since the last successful build. Then, follow these steps:
    1. In Platform Builder 5.0, select the operating system configuration that you successfully built.
    2. To open a build window, click Open Release Directory on the Build OS menu.
    3. In the build window, type the following command:
    dir %_PROJECTROOT%/SysgenSettings.out
    This file confirms that you tried to build the operating system at least one time.
    4. In the same build window, type the following command:
    set sysgen>anchored.txt
    This file contains the set of anchored Catalog items in the operating system design. This file is located in the release directory.
    5. Compare the SysgenSettings.out file to the Anchored.txt file.
    6. Determine the set of Sysgen variables that are found in the Anchored.txt file that are not found in the SysgenSettings.out file. This set of Sysgen variables will be the set of Catalog items that you have to explicitly unanchor.
    7. On the View menu in Platform Builder 5.0, click Workspace.
    8. In the Workspace window, click the OSDesignView tab.
    9. For each Sysgen variable that you found in step 6, explicitly unanchor the Catalog item. To do this, follow these steps:
   
    a.  On the OSDesignView tab, find the Catalog item.
        Note If you need help finding the Catalog item on the OSDesignView tab, follow these steps:
        1. On the View menu in Platform Builder 5.0, click Catalog.
        2. Right-click in the Catalog, and then click Find.
        3. In the Find what box, type the Sysgen variable name. For example, in the Find what box, type SYSGEN_LOCUSA.
        4. Click Find Next. The folder in which you find the Catalog item is the same folder that is used on the OSDesignView tab.
 
    b.  Right-click the Catalog item, and then click Remove Item from User-specified Catalog Item(s).

    Note The Catalog item displays an unanchored symbol when the Catalog item is unanchored. An unanchored symbol is a green cylinder.
 
    10. On the Platform menu in Platform Builder 5.0, click SDK, and then click Configure SDK. The SDK Wizard starts.
    11. Click the CPU tab, and then click to select the check boxes for the CPU families that the SDK will support. Verify that you selected the operating system configuration that you already successfully built.
    12. On the Platform menu in Platform Builder 5.0, click SDK, and then click Build SDK.
    If the problem still occurs, verify that you successfully built all the operating system configurations that the SDK Wizard identified in the build log.
   
        将[HKEY_LOCAL_MACHINE/Software/Geode]下的"Resolution"的值改为文件下方列出的被支持的模式即可.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值