advance build commands

本文介绍了 Windows Embedded CE 6.0 中的高级构建命令,包括 Sysgen、CleanSysgen 和 RebuildandCleanSysgen 等,这些命令为熟悉构建系统的用户提供额外的功能和灵活性。
部署运行你感兴趣的模型镜像

Advanced Build Commands (Windows Embedded CE 6.0)

1/6/2010

These commands provide additional functionality for users who want to build their run-time images.

These build commands are for advanced users who are familiar with the build system and want additional flexibility on theBuild menu.

CommandDescription

Sysgen

blddemo -q

Runs the Sysgen tool on files in the OS design.

Choose this command when you change the SYSGEN variables, typically by adding or removing items from the Catalog.

Files are copied to the release directory if Copy Files to Release Directory After Build is selected inGlobal Build Settings.

A run-time image is built if Make Run-Time Image After Build is selected inGlobal Build Settings.

Clean Sysgen

blddemo clean -q

Cleans the SYSGEN variables in the operating system, runs the Sysgen tool on files in the OS design, compiles BSPs and runs the Sysgen tool on BSPs, and builds subprojects.

Files are copied to the release directory if Copy Files to Release Directory After Build is selected inGlobal Build Settings.

A run-time image is built if Make Run-Time Image After Build is selected inGlobal Build Settings.

Choose this command when you change an environment variable or a SYSGEN variable. If you have only modified a source file, then a clean build is not necessary.

Build and Sysgen

Blddemo

Builds, and then runs the Sysgen tool on files in the OS design.

Choose this command when you modify files under %_WINCEROOT%\Public, or under %_WINCEROOT%\<custom_directory>, that are included in the OS design.

Subprojects in the OS design are included in the build process.

Files are copied to the release directory if Copy Files to Release Directory After Build is selected.

A run-time image is built if Make Run-Time Image After Build is selected inGlobal Build Settings.

Ee482590.note(en-US,WinEmbedded.60).gifImportant:
Do not perform a Build and Sysgen, because this builds the OS tree and then performs a Sysgen. The OS tree contains source code from Microsoft and recompiling and rebuilding this code is usually unnecessary and involves risk, especially if you do not implement a source control system. Build and Sysgen also significantly increases the time required for building an OS image.

Rebuild and Sysgen Clean

blddemo clean cleanplat -c

Ee482590.note(en-US,WinEmbedded.60).gifImportant:
Do not perform a Rebuild and Clean Sysgen, because this builds the OS tree and then performs a Sysgen. The OS tree contains source code from Microsoft and recompiling and rebuilding this code is usually unnecessary and involves risk, especially if you do not implement a source control system. Rebuild and Clean Sysgen also significantly increases the time required for building an OS image. Rebuild and Clean Sysgen can also delete libraries for which no source code is shipped. To recover these libraries, you must re-install Windows Embedded CE 6.0.

Build and Sysgen Current BSP

blddemo -qbsp

Builds BSP source code and subproject code, and then runs the Sysgen tool on files in the BSP.

Choose this command when you modify files in your BSP directory or in one of your subprojects. If SYSGEN variables in the OS have changed, do not choose this command.

Files are copied to the release directory if Copy Files to Release Directory After Build is selected.

A run-time image is built if Make Run-Time Image After Build is selected inGlobal Build Settings.

Rebuild and Clean Sysgen Current BSP

blddemo -qbsp -c


您可能感兴趣的与本文相关的镜像

Wan2.2-T2V-A5B

Wan2.2-T2V-A5B

文生视频
Wan2.2

Wan2.2是由通义万相开源高效文本到视频生成模型,是有​50亿参数的轻量级视频生成模型,专为快速内容创作优化。支持480P视频生成,具备优秀的时序连贯性和运动推理能力

### 关于 PhaseScriptExecution [CP] 构建命令失败的解决方案 在 Xcode 中,`PhaseScriptExecution [CP]` 构建命令失败通常与构建过程中的脚本执行问题相关。以下是一些可能的原因和解决方法: #### 1. 检查 Derived Data Xcode 的 Derived Data 文件夹中可能包含不正确的缓存数据,这可能导致构建脚本执行失败。可以尝试清除 Derived Data 文件夹来解决问题[^4]。 ```bash rm -rf ~/Library/Developer/Xcode/DerivedData/ ``` 清除后重新构建项目,观察是否仍然存在错误。 #### 2. 调整自定义构建输出目录 如果使用了自定义的“构建输出”目录,Xcode 可能会将文件放置在错误的位置,从而导致构建脚本无法正常运行[^1]。确保构建输出路径正确设置,并且所有必要的文件都在预期位置。 #### 3. 检查脚本内容 构建阶段中的脚本可能存在语法错误或逻辑问题。打开项目的 Build Phases 设置,找到对应的 `Run Script` 阶段,检查脚本内容是否正确。例如,确保路径、环境变量和其他依赖项都已正确配置。 #### 4. 确保依赖项已正确安装 某些构建脚本可能依赖外部工具或库。例如,在 Python 项目中,如果依赖项未正确安装,可能会导致构建失败[^2]。确保所有依赖项均已正确安装并可用。 #### 5. 修改构建配置 如果问题出现在特定的构建配置(如 Debug 或 Release)下,可以尝试调整 CMake 或其他构建工具的配置。例如,在使用 Catkin 工具时,可以通过指定构建类型来优化构建过程[^3]。 ```bash catkin_make -DCMAKE_BUILD_TYPE="Release" ``` #### 6. 查看详细日志 Xcode 提供了详细的构建日志,可以帮助定位问题的具体原因。可以在 Xcode 的 Report Navigator 中查看完整的构建日志,并搜索具体的错误信息。 --- ### 示例代码:清理 Derived Data 并重建项目 ```bash # 清理 Derived Data rm -rf ~/Library/Developer/Xcode/DerivedData/ # 打开终端并进入项目目录 cd /path/to/your/project # 清理并重建项目 xcodebuild clean xcodebuild build ``` ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值