阅读:1312回复:2
wdm.lib link 问题.
--------------------Configuration: TestDriver - Win32
“vdw_wdm.lib”文件 通过BUILD Driver studio\\source 中的工程已经产生了,但再后续调试过程中,又遇到了LINK问题,出错如下: Checked-------------------- Linking... LINK : fatal error LNK1181: cannot open input file \"wdm.lib\" Error executing link.exe. TestDriver.sys - 1 error(s), 0 warning(s) The following environment variables were not found $(BASEDIR) $(CPU) 在DDK目录下有发现这个WDM.LIB,但不知怎样设定.望大家指点一二. |
|
沙发#
发布于:2004-04-23 11:28
TestDriver.sys - 1 error(s), 0 warning(s)
The following environment variables were not found $(BASEDIR) $(CPU) 驱动程序不能被编译执行~~~你一编译就会出现这个错误! |
|
板凳#
发布于:2004-04-23 14:00
2个办法:
1:每次启动的时候不要直接打开vc,而是用开始菜单-〉driverstudio->tools->Setup DDK and Start MSVC 来启动 2:在环境变量里面增加2个: basedir = 你的ddk的路径(如d:\\ntddk) cpu = i386 |
|