痛苦-关于DS的使用,高人啊,帮忙

yuxiayizhi 2006-07-14 04:44:14
书上源码,我的操作过程如下(Windows 2000/xp WDM设备驱动程序开发光盘上面的一个例程)
用vc打开工程->build->rebuild all,出现以下错误,请指点,谢谢


--------------------Configuration: CharSample - Win32 Free--------------------
Compiling resources with DDK resource compiler...
Compiling with DDK compiler...
CharSample.cpp
CharSampleDevice.cpp
Linking with DDK linker...
LINK : fatal error LNK1181: cannot open input file 'C:\PROGRA~1\Compuware\DriverStudio\DriverWorks\lib\i386\free\vdw_wdm.lib'
Error executing link.exe.

CharSample.sys - 1 error(s), 0 warning(s)
--------------------Configuration: Test_CharSample - Win32 Free--------------------
Compiling with DDK compiler...
Test_CharSample.cpp
Compiling...
OpenByIntf.cpp
Linking with DDK linker...

Test_CharSample.exe - 0 error(s), 0 warning(s)
--------------------Configuration: CharSample - Win32 Checked--------------------
Compiling resources with DDK resource compiler...
Compiling with DDK compiler...
CharSample.cpp
CharSampleDevice.cpp
Linking with DDK linker...
LINK : fatal error LNK1181: cannot open input file 'C:\PROGRA~1\Compuware\DriverStudio\DriverWorks\lib\i386\checked\vdw_wdm.lib'
Error executing link.exe.

CharSample.sys - 1 error(s), 0 warning(s)
--------------------Configuration: Test_CharSample - Win32 Checked--------------------
Compiling with DDK compiler...
Test_CharSample.cpp
Compiling...
OpenByIntf.cpp
Linking with DDK linker...

Test_CharSample.exe - 0 error(s), 0 warning(s)
...全文
191 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ljkong 2006-07-14
  • 打赏
  • 举报
回复
在ds的安装目录下面有个vdwlib.dsw的工程,找到他然后编译后生成vdwlib.lib后才能编译其它驱动,在ds的help中也有说明

21,600

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧