阅读:3246回复:2
DriverStudio的设置?
wanglimin
初级会员 注册日期: 2001年01月 发表帖子: 4 我把VC5安装在C:\PROGRAM FILES\DEVSTUDIO目录下 WIN2K DDK安装在C:\NTDDK目录下 DRIVER STUDIO2.01安装在C:\PROGRAM FILES\NUMEGA\DRIVERSTUDIO下 环境变量为 TMP=c:\windows\TEMP TEMP=C:\windows\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM DRIVERNETWORKS=C:\PROGRA~1\NUMEGA\DRIVER~1\DRIVER~3 DRIVERWORKS=C:\PROGRA~1\NUMEGA\DRIVER~1\DRIVER~4 VTOOLSD=C:\PROGRA~1\NUMEGA\DRIVER~1\VTOOLSD DRIVERAGENT=C:\PROGRA~1\NUMEGA\DRIVER~1\DRIVER~2 PATH=C:\PROGRA~1\ULTRAEDT;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA ~1\NUMEGA\DRIVER~1\DRIVER~2\BIN windir=C:\WINDOWS 现在用DRIVER WIZARD作了一个WDM驱动程序,VC++5.0编译时提示: LINK : fatal error LNK1181: cannot open input file "C:\PROGRA~1\NUMEGA\DRIVER~1\DRIVER~4\lib\i386\free\vdw_wdm.lib" 试着用VC++5.0编译DRIVER STUDIO自带的WDM例程也是提示此错误. 在WIN2K DDK Build Environment下还是提示此错误.我到那个目录下确实没找到vdw_wdm.lib这个文件 到底是哪儿设置的不对呢? 我用的DRIVER STUDIO 2.01是从www.DriverDevelop.COM 下载的,安装时序列号我填了3808-0122FF-FD(这个是DRIVER STUDIO2.0可以用的),安装程序未提示出错. 帮我分析一下好吗? 2001-01-22 23:18 IP: 已登记 gavinux 高级管理员 注册日期: 2001年01月 发表帖子: 39 you have to do some extra steps instead of just install it. 1. install all of the 3 products 2. goto Programs | Nemega DriverStudio | DriverWorks select Setup DDK and Start DevStudio This will compile you DDK and generate .lib files 3. use Wizard to create a sample file 4. make sure in the system PATH variable, there is BASEDIR=c:\NTDDK 5. use VC++ to complie your project. 6. debug you sample. __________________ gavinux 2001-01-23 07:09 IP: 已登记 wanglimin 初级会员 注册日期: 2001年01月 发表帖子: 4 我已经执行了"Setup DDK and Start Devstudio" 我已经执行了"Setup DDK and Start Devstudio",但是很明显没有产生任何库文件,仅仅是设置了环境变量并启动了Devstudio.是不是不应该在98下使用win2kDDK? 另外我把BounderChecker启动项关掉了,它总是报Page Fault. 2001-01-23 08:42 IP: 已登记 gavinux 高级管理员 注册日期: 2001年01月 发表帖子: 39 OPEN project in Numega/DriverWorks/VdwLibs.dsw maybe you are saying it just start VisualStudio. SOLUTION: goto Programs | Nemega DriverStudio | DriverWorks select Setup DDK and Start DevStudio OPEN project in Numega/DriverWorks/VdwLibs.dsw select menu -- Build | Batch Build | Rebuild All that will build all the libs If it doesn't work: 1. Uninstall DriverStudio 2. Uninstall DDK 3. check system Environments, delete string in Path which has relation to DriverStudio and DDK 4. delete all files in you temporary directories, it should be C:\Temp or C:\tmp, etc. 5. Install Win2K SP1 DDK, NOTE: select all 6. Install DriverStudio, NOTE: when asked supply DDK root 7. goto Programs | Nemega DriverStudio | DriverWorks select Setup DDK and Start DevStudio OPEN project in Numega/DriverWorks/VdwLibs.dsw select menu -- Build | Batch Build | Rebuild All that will build all the libs 8. create a new variable in system environment: BASEDIR C:\NTDDK ( it is my mistake that BASEDIR is not in path) 9. Start VC, create a sample project, build it and use softice do debug it. __________________ gavinux 2001-01-23 23:49 IP: 已登记 wanglimin 初级会员 注册日期: 2001年01月 发表帖子: 4 确实如此,还没有编译库文件。 编译完库文件后可以用了。谢谢你! |
|
|