阅读:2098回复:2
刚安装WDK,编译出错。大牛们帮忙看看。。`ntddk.h`我用WKD自带的编译环竟,没过。。。下面是所有的过程。。帮忙看看 Starting dirs creation...Completed. F:\WinDDK\6001.18002>F: F:\WinDDK\6001.18002>cd F: F:\WinDDK\6001.18002 F:\WinDDK\6001.18002>cd F:\Driver\t001 F:\Driver\t001>build BUILD: Compile and Link for x86 BUILD: Computing Include file dependencies: BUILD: Start time: Wed Jun 08 00:50:20 2011 errors in directory f:\driver\t001 Unsupported TARGETTYPE value - DIRVER BUILD: Examining f:\driver\t001 directory for files to compile. f:\driver\t001 - 1 source files (17 lines) BUILD: Saving f:\winddk\6001.18002\build.dat... BUILD: Compiling f:\driver\t001 directory _NT_TARGET_VERSION SET TO WINXP Compiling - t001.c errors in directory f:\driver\t001 f:\driver\t001\first.c(1) : error C1083: Cannot open include file: 'ntddk.h': No such file or directory BUILD: Finish time: Wed Jun 08 00:50:24 2011 BUILD: Done 3 files compiled - 2 Errors F:\Driver\t001> |
|
沙发#
发布于:2011-06-09 07:19
试试这个: 在vc中选择"Tools"|"Options",在弹出的对话框中选择“Directories”选项卡。在“Show directories for”下拉菜单中选择“Include files”菜单。 然后在include file,Library file,source file 把wdk的文件包含进去 |
|
板凳#
发布于:2011-06-23 08:58
errors in directory f:\driver\t001
Unsupported TARGETTYPE value - DIRVER source文件, 拼写错误。 DRIVER |
|