win7 64位wince6.0生成SDK出错
来源:互联网 发布:淘宝站外活动怎么报 编辑:程序博客网 时间:2024/05/22 14:27
win7 64位系统 wince6.0环境
生成SDK的时候会出现如下错误:
'C:\Program' Files (x86)\Microsoft Visual Studio 8\Common7\IDE>"C:\Program Files (x86)\Microsoft Platform Builder\6.00\cepb\IdeVS\GenSdk.exe" "C:\WINCE600\OSDesigns\S4WE\S4WE\SDKs\SDK1\obj\BuildSDK1.xml"
Required files may be missing. To resolve the issue, reinstall Platform Builder.
解析:
This happens because GENSDK.EXE (the tool that “packs” all the files required for your SDK in a MSI file that you can redistribute and install on developer’s machines) is a .NET application that is spawned from PB and runs in 64bit mode. 64bit mode has its own registry and the configuration keys generated by PB setup are only in the 32bit registry. That generates the problem.
To fix it we can just develop a small .NET application, force it to run as 32bit (x86) and reference GENSDK.EXE as an external assembly, invoking its main method from our new 32bit app. This will force GenSdk to run as a 32bit app, finding all the registry information it needs to complete the SDK build.
解决方法如下:
1.新建C# 控制台应用程序
2.在新建立的项目右键:添加引用-》浏览选项 找到GenSdk.exe打开
3.双击GenSdk,通过对象浏览器找到GenSdk32中的Program
4.双击program并在主函数中添加
Microsoft.PlatformBuilder.Sdk.SdkGenerator.GenSdk.Main(args);
static void Main(string[] args)
{
Microsoft.PlatformBuilder.Sdk.SdkGenerator.GenSdk.Main(args);
}
Installing Windows CE 6.0 tools on a Windows7 64bit PC
- win7 64位wince6.0生成SDK出错
- win7 64位系统搭建wince6.0
- WinCE6.0 SDK的生成方法
- WinCE6.0 SDK的生成方法
- WIN7 64位系统搭建WINCE6.0系统遇到的问题
- WIN7 64位系统搭建WINCE6.0系统遇到的问题
- 64位win7启动VirtualBox出错Error e_fail 0x80004005
- win7旗舰版64位系统用VS2010旗舰版安装cocos2d-x模本生成解决方案出错
- WIN7 64位安装jdk,javac出错
- 生成SDK时出错
- 64位Win7 IIS7运行 32位Asp.Net出错
- 64位Win7 IIS7运行 32位Asp.Net出错
- wince6.0 vs2005 编译出错
- wince6.0 emulator 编译出错
- WinCE6.0 编译SDK方法
- win7上安装wince6.0
- win7上安装wince6.0
- win7上安装wince6.0
- 多Makefile的例子
- I2C死锁原因及解决方法
- 通用makefile是如何炼成的(X)—— 导入单元测试
- android browser 的几个小feature (一) 链接保存书签
- 接口(interface)
- win7 64位wince6.0生成SDK出错
- error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ’***'
- 如何用程序实现向博客写入文章
- Error[e16]: Segment DATA16_I (size: 0xa80 align: 0x1) is too long for segment definition.
- tongji
- Linux /proc第一篇---->/proc/pid记录了什么
- FREERTOS读写TF卡驱动疑难点
- 传智播客各大校区师资共享 广州PHP培训课程万众期待
- Triple Fat Ladies