WINCE环境搭建有时候会遇到这样的问题,或者是在新OS建立时会弹出类似问题;具体窗口如下:
The global default build tree (WINCEROOT) has not been set, or is invalid. Make sure that the WINCEROOT is set correctly before creating an OS design. To view the current setting for the WINCEROOT, from the WINCEROOT, from the Tools menu, choose Options, and then navigate to the Platform Builder OS Design and Build Options.
该问题的大致意思为全局默认的(winceROOT)根目录没有设置,或者无效,确认在创建操作系统设计之前,WINCEROOT根目录被正确的设置。
解决方法为设置WINCEROOT的根目录,该目录设置在VS里。
打开VS,依次VS2005——TOOLS——OPTIONS,选择options下的Platform Builder for CE,在右侧的Default OS build tree(WINCEROOT)路径下写入WINCE安装的路径即可。