痛苦-关于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)
...全文
170 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
ljkong 2006-07-14
在ds的安装目录下面有个vdwlib.dsw的工程,找到他然后编译后生成vdwlib.lib后才能编译其它驱动,在ds的help中也有说明
回复
发帖
驱动开发/核心开发
创建于2007-09-28

2.1w+

社区成员

硬件/嵌入开发 驱动开发/核心开发
申请成为版主
帖子事件
创建了帖子
2006-07-14 04:44
社区公告
暂无公告