ttzwater
驱动小牛
驱动小牛
  • 注册日期2003-06-07
  • 最后登录2011-10-04
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望23点
  • 贡献值0点
  • 好评度22点
  • 原创分0分
  • 专家分0分
阅读:1136回复:0

DS+VC直接编译书上拷过来的代码,出现很奇怪的错误,请大家看看

楼主#
更多 发布于:2003-07-04 10:02
是从DS的“Setup DDK and Start MSVC”进去的


--------------------Configuration: PCI9054 - Win32 Checked--------------------
Compiling...
Command line warning D4024 : unrecognized source file type \'D:\\applicat\\NTDDK\\inc\', object file assumed
Command line warning D4027 : source file \'D:\\applicat\\NTDDK\\inc\' ignored
PCI9054.cpp
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2146: syntax error : missing \';\' before identifier \'Lock\'
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2501: \'Lock\' : missing storage-class or type specifiers
D:\\applicat\\NuMega\\DRIVER~1\\DRIVER~3\\include\\kdriver.h(961) : fatal error C1903: unable to recover from previous error(s); stopping compilation
PCI9054Device.cpp
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2146: syntax error : missing \';\' before identifier \'Lock\'
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers
D:\\APPLICAT\\NTDDK\\INC\\wdm.h(354) : error C2501: \'Lock\' : missing storage-class or type specifiers
D:\\applicat\\NuMega\\DRIVER~1\\DRIVER~3\\include\\kpnpdev.h(547) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.

PCI9054.sys - 8 error(s), 2 warning(s)
--------------------Configuration: Test_PCI9054 - Win32 Debug--------------------
Linking...
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK : fatal error LNK1146: no argument specified with option \"/libpath:\"
Error executing link.exe.

Test_PCI9054.exe - 1 error(s), 0 warning(s)
The following environment variables were not found
$(TARGET_LIB_PATH)
$(TARGET_INC_PATH)


本人不是想偷懒,只是老板催的太急没时间慢慢分析了,所以上来找各位帮忙
游客

返回顶部