转载:http://bbs.csdn.net/topics/360029036
新建项目->platform builder for ce 6.0->OS Design->Device Emulator:ARMV4I->PDA device->后面都默认
在vista笔记本上和XP台式机上都是同样的问题!!!无论是选编译,还是sysgen,还是clean sysgen,都是同样的问题!!!
直接说error,没别的信息:
本上和台式的唯一区别是,本上最后那个builder.err可以打开,台式上打不开
打开以后是:error SYSGEN0000: error(s) in sysgen phase
http://microsoft-personal-operating-systems.hostweb.com/TopicMessages/microsoft.public.windowsce.platbuilder/455498/1/Default.aspx
NMAKE fails because it cannot find s3c2440a_lcd_lib.lib
Since RELEASETYPE=OAK in the sources file, the library is built in
%_PROJECTROOT%\Oak\Lib\ARMV4I\debug,
not in %_WINCEROOT%\public\common\oak\lib\ARMV4I\debug.
先去wince的安装目录查看build.log,在最后发现
NMAKE : fatal error U1073: don't know how to make 'E:\vsDoc\OSDesign2\OSDesign2\Wince600\DeviceEmulator_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\atlsd.lib'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE600\sdk\bin\i386\nmake.exe' : return code '0x2'
Stop.
如那个网页中所述,E盘那个项目目录里果然没有atlsd.lib,去wince的安装目录里搜一下,发现它在
C:\WINCE600\OTHERS\ATL8\LIB\ARMV4I
于是很简单拉,拷过去就行了,我是ctrl+a全拷过去了,反正才6个文件
再sysgen,开始时点的clean sysgen,但貌似是自动把项目的那个目录给删了,所以要先clean sysgen,然后把上述文件拷过去,再sysgen,OK!