首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

XPSP3+VC6.0+SDK+WDK 环境搭建有关问题

2012-06-09 
XPSP3+VC6.0+SDK+WDK 环境搭建问题安装的先后顺序是:vc6.0 +sdk + wdk用WDK 自带的例子C:\WinDDK\src\usb\

XPSP3+VC6.0+SDK+WDK 环境搭建问题
安装的先后顺序是:vc6.0 +sdk + wdk 用WDK 自带的例子C:\WinDDK\src\usb\usbsamp\sys 测试环境是否搭建成功。
按照网上交的 把该包含的地方都包含进去,该设置的地方都设置了。
但编译时还是出错了。
我找到了WDF.H的路径 为: C:\WinDDK\inc\wdf 已经包含进去了啊。为什么还提示找不到文件呢?

c:\bc\usbsamp\private.h(39) : fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
device.c
c:\bc\usbsamp\private.h(39) : fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
driver.c
c:\bc\usbsamp\private.h(39) : fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
isorwr.c
c:\bc\usbsamp\private.h(39) : fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
Generating Code...
Error executing cl.exe.

usbsamp.sys - 5 error(s), 4 warning(s)



[解决办法]
把C:\WinDDK\inc\wdf\kmdf\1.9加到你VC的header include directory里,也可以加到项目的include directory里。

热点排行