wince5 编译 SDK 出错及解决办法
2010-03-12 11:13
591 查看
在PB中编译SDK时提示如下错误:
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).
在MSDN中找到的官方解决办法如下:
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.
主要的步骤已经红色标出,大概意思就是找到 出问题的 sysgen 变量,这些变量是存在于Anchored.txt文件中而在 SysgenSettings.out 文件中没有定义的。然后在PB的Catalog 中找到这些对应的选项并将其移除。
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).
在MSDN中找到的官方解决办法如下:
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.
主要的步骤已经红色标出,大概意思就是找到 出问题的 sysgen 变量,这些变量是存在于Anchored.txt文件中而在 SysgenSettings.out 文件中没有定义的。然后在PB的Catalog 中找到这些对应的选项并将其移除。
相关文章推荐
- wince5编译SDK出错的解决办法
- Hi3515的开发板 Hi3515 SDK编译出错 提示缺少libpciv.a的解决办法
- 编译"Objective-C基础教程" 工程时出错, SDK不匹配的解决办法
- 编译mini2440内核出错: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found - 解决办法 嵌入式家园 贺工
- maven 编译出错Fatal error compiling: 无效的目标发行版: 1.8 -> [Help 1] 解决办法
- Android项目出现main.xml编译出错和 出现main.out.xml无法编译的解决办法
- Hello Samza编译出错的解决办法
- Android—新的eclipse导入SDK出错解决办法
- WPF中Xaml编译正常而Designer Time时出错的解决办法
- CentOS x64 里php 源码编译出错参见情况及解决办法
- WPF中Xaml编译正常而Designer Time时出错的解决办法
- 升级到xcode4.2 iOS sdk 5.0旧版工程编译后出现的警告解决办法
- VS2008 编译出现 error PRJ0003 : 生成 cmd.exe 时出错(解决办法)
- Android之编译jni出错解决办法
- spring boot项目构建出错,编译失败提示少包解决办法
- Lisp老程序编译时有时会出现编译出错,但程序没有任何错误,解决办法
- snmp VC6.0 编译error LNK2001: unresolved external symbol出错解决办法
- VS2010编译时 mt.exe出错解决办法
- 编译OK6410-A 的qt-everywhere-opensource-src-4.7.1出错 解决办法
- 数组编译时出错error C2057: expected constant expression,以及解决办法