阅读:987回复:0
请问这是为什么?
在安装DRIVERSTUDIO2.6以后,我编译库文件VDWLIBS.DSW,步骤如下:
1.用OPEN WORKSPACE把DRVERSTUDIO\\DRIVERWORKS\\SOURCE\\VDWLIBS装入; 2.选择BUILD->BATCH BUILD,出现对话框,我仅选择WIN32 WMD CHECKED项; 3.点击REBUILK ALL,出现以下信息: Compiling... Command line warning D4002 : ignoring unknown option \'/Oi\' ... Creating library... Build Environment Variables BASEDIR=D:\\installedsoftware\\NTDDK vdw_wdm.lib - 0 error(s), 1 warning(s) 不知此warning由何引起? 在此之后,我试着编译一例子,步骤如下: 1.用OPEN WORKSPACE把DRVERSTUDIO\\DRIVERWORKS\\SAMPLES\\WDM\\HELLOWDM\\SYS\\HELLOWDM.DSP装入; 2.选择BUILD->BATCH BUILD,出现对话框,我仅选择HELLO__WIN32 CHECKED项; 3.点击REBUILK,出现以下信息: ...... BUILD: Linking d:\\instal~1\\driver~1\\driver~3\\examples\\wdm\\hellowdm\\sys directory Linking Executable - objchk\\i386\\hellowdm.sys for i386 vdw_wdm.lib(kmutex.obj) : error LNK2001: unresolved external symbol ___pfnBkCheck ..... vdw_wdm.lib(kchecker.obj) : error LNK2001: unresolved external symbol ___pfnBkCheck objchk\\i386\\hellowdm.sys() : error LNK1120: 1 unresolved externals BUILD: Done 3 files compiled - 93 LPS 1 executable built - 21 Errors Tool returned code: 0 请问这是为什么?望多多指教。 :( :( :( |
|