阅读:1733回复:4
为什么会有这些编译错误?
--------------------Configuration: KINCEIo - Win32 Debug--------------------
Compiling... DeviceIo.cpp D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2146: syntax error : missing \';\' before identifier \'Lock\' D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'Lock\' : missing storage-class or type specifiers D:\\NTDDK\\INC\\DDK\\ntddk.h(824) : error C2146: syntax error : missing \';\' before identifier \'KSPIN_LOCK\' D:\\NTDDK\\INC\\DDK\\ntddk.h(824) : fatal error C1004: unexpected end of file found Dispatch.cpp D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2146: syntax error : missing \';\' before identifier \'Lock\' D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers D:\\NTDDK\\INC\\DDK\\ntddk.h(370) : error C2501: \'Lock\' : missing storage-class or type specifiers D:\\NTDDK\\INC\\DDK\\ntddk.h(824) : error C2146: syntax error : missing \';\' before identifier \'KSPIN_LOCK\' D:\\NTDDK\\INC\\DDK\\ntddk.h(824) : fatal error C1004: unexpected end of file found Error executing cl.exe. |
|
沙发#
发布于:2004-05-12 12:42
你的编译方法有问题。。
|
|
板凳#
发布于:2004-05-12 17:14
没有包含正确的头文件
|
|
地板#
发布于:2004-05-13 09:17
没有包含正确的头文件 检查编译环境,确定正确的头文件路径 |
|
|
地下室#
发布于:2004-05-25 13:50
没有Include正确的头文件
|
|
|