首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > WinCE >

PB:Build and sysgen 出错,该如何处理

2012-02-03 
PB:Build and sysgen 出错系统:WINCE5.0PB 编译出错部分代码如下:sysgen_redir1sysgen_sd_memory1sysgen

PB:Build and sysgen 出错
系统:WINCE5.0 
PB 编译出错
部分代码如下:
sysgen_redir=1
sysgen_sd_memory=1
sysgen_sdbus=1
sysgen_spim_mspy=1
sysgen_standardshell=1
sysgen_storemgr_cpl=1
sysgen_tcpip6=1
sysgen_tfat=1
sysgen_touch=1
sysgen_udfs=1
sysgen_usb_hid=1
sysgen_usb_hid_clients=1
sysgen_usb_hid_keyboard=1
sysgen_usb_hid_mouse=1
sysgen_usb_printer=1
sysgen_usb_storage=1
sysgen_usbfn=1
sysgen_usbfn_serial=1
系统找不到指定的路径。CE_MODULES=coredll nk console cmd msim commctrl commdlg cerdisp net secur32 ntlmssp spnego schannel rsaenh dssdh crypt32 msasn1 credman pcl prnport prnerr notify rnaapp connmc ndispwr netui asyncmac unimodem tcpstk tcpip6 ipv6hlp dhcpv6l winsock afd
 ws2 ws2instl wspm nspm ssllsp rtl8139 e100bex smsc100fd dp83815 ne2000 dhcp ethman eap eapchap eaptls netmui ndisuio ndis autoras ppp tapi redir netbios iphlpapi softkb gwes keybd pointer display fonts waveapi audiodrv wavesamples cxport nleddrvr d
evice regenum busenum pm ceddk giisr mmtimer pci pcmconv serial pccard 8042keyboard nopkeyboard csp csp_mininput stratad sdnpcid fasld enumfaslpci sdbus sdbus2 sdmemory usbhost usbd usbhid usbprn usbmsc usbdisk6 rndismp usb8023 hidparse kbdhid consh
id MouHid usbfn serialusbfn fatfsd tfat fatutil diskcache udfs binfs mspart fsdmgr zlib gb18030 filesys vmini rt_tests
COREDLL_COMPONENTS=coremain lmem showerr thunks corecrt corestrw cryptapi tnotify tapilib coresip rectapi wmgr_c mgdi_c accel_c messagedialogboxthunk shcore shortcut shexec shmisc fileopen fileinfo shellapis dsa timezones mmwave mmsnd mmmix nled de
vload coreimm fmtmsg corestra coresiow coresioa serdev coreloc multiui crt_cpp_eh_and_rtti full_crt crypthash rsa32
NK_COMPONENTS= nkcompr nkmapfile
FILESYS_COMPONENTS=fsheap fsmain fsreghive fsysram fsreplbit fsdbase fspass fsadvertise msgqueue
DEVICE_COMPONENTS= devcore iorm pmif
PM_COMPONENTS= pm_default_pdd pm_mdd pm_pdd_common
FATUTIL_COMPONENTS=fatutil_ui fatutil_main
GWE1_COMPONENTS=wmbase gweshare gwesmain immthunk msgque GSetWinLong CePtr foregnd idle kbdui uibase msgbeep audio
GWE2_COMPONENTS=mgbase mgbitmap mgblt mgblt2 mgdc mgdibsec mgdraw mgrgn mgwinmgr tchui calibrui mggradfill mgalphablendstub mgtt mgdrwtxt mgprint mgpal mgpalnat
GWE3_COMPONENTS=accel btnctl caret cascade imectl clipbd cmbctl defwndproc dlgmgr dlgmnem edctl gcache gwectrl icon iconcmn imgctl lbctl loadbmp loadimg menu menuscrl mOverlap MouseAndTouchCursor iconcurs mcursor mcursor8 cursor cursor8 mNoTapUI
GWE4_COMPONENTS=nclient oom sbcmn scbctl startup stcctl winmgr startui oomui sbcmnview nclientview gcacheview btnctlview stcctlview cmbctlview lbctlview msgbox msgbox_hpc dlgmgr_hpc menu_hpc EditControlOs timer column atom drawmbar hotkey syscolor m
gdx mgalias journal mgtci
DCOM_MODULES= atl ole32 oleaut32 uuid
OLE32_COMPONENTS=mcombase mcommem mcomstr mcommon mcomlib ole232 docfile msf exp mcomstm
GDIEX_MODULES= imaging
IMAGING_COMPONENTS= img_png img_libpng img_pngdecoder img_gif img_liblzw img_gifdecoder img_jpeg img_jpegfull img_jpegmem img_jpegdecoder img_bmp img_bmpdecoder
IE_MODULES= shdoclc shdocvw inetcpl urlmon wininet shlwapi uuid ieceext mlang
SCRIPT_MODULES= jscript
SERVERS_MODULES= timesvc
SHELLSDK_MODULES= aygshell
SHELL_MODULES= explorer shcore ceshell qvgap
CESHELL_COMPONENTS= ceshapi ceshui taskbarlist
SHCORE_COMPONENTS= shcore path
WCESHELLFE_MODULES= htmlview peghelp browser iexplore webview msscript control ctlpnl cplmain AdvBacklight connpnl intlp stguip
WCEAPPSFE_MODULES= pword pwd_res pwwiff office riched20
DATASYNC_MODULES= cefobj repllog rapisrv eventrst rra_stm systemcpl udp2tcp wceload unload
NETCF_MODULES= dotnet
SQLCE_MODULES= edb
Sysgening platform C:\WINCE500\platform\H3DIF2442
Sysgening platform C:\WINCE500\platform\H3DIF2442
\WINCE500\build.err
C:\WINCE500\build.log
C:\WINCE500\build.wrn
C:\WINCE500\build.err


已复制 3 个文件。

BLDDEMO: There were errors building Small

Small - 0 error(s), 2 warning(s)

按照论坛里网友的提示,加上ATL组件后,问题依然存在。
求赐教啊。

[解决办法]
你的问题有可能
1 wince安装软件不对

2、杀毒软件没关闭,

3、重启系统重新编译试试。
[解决办法]
以前我还遇到一些问题,就是有些电脑的系统经常一下成功,一下失败的,后来更换 XP3 就好了。
[解决办法]
NMAKE : U1073: 'D:/WINCE500/PBWorkspaces/armsys2440/WINCE500/smdk2440a_ARMV4I/cesysgen/oak/inc/ceddk.def'

编译在NMAKE阶段出现的错误。检查ceddk.def文件是否存在。
在D:/WINCE500/PUBLIC/COMMON/OAK/DRIVERS/CEDDK/DLL下存在ceddk.c文件,
其sources文件包含DEFFILE=$(_COMMONOAKROOT)/inc/ceddk.def
说明ceddk.def'在D:/WINCE500/PUBLIC/COMMON/OAK/INC下。
在sysgen过程中没有将ceddk.def文件拷贝到工程文件夹下,
选择clean before build和copy files to release directory然后重新sysgen。


[解决办法]
执行makeimg命令的时候出现一下错误:

makeimg: Creating <...> nlscfg.out because <... > nlscfg.inf doesn't exist.
  
makeimg: run command: fmerge -nls <....> nlscfg.out <... > nlscfg.inf
  
Error - cannot open input file <...> \postproc\nlscfg.inf
  
fmerge for Windows CE (Release) (Built on Jan 29 2004 17:34:26)
  
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
  
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).

只要运行buildrel.bat($(_WINCEROOT)\PUBLIC\COMMON\OAK\MISC),将相关文件拷贝到Release目录下面,然后重新执行makeimg即可。

热点排行