VS2005错误 missing ';' before identifier 'PVOID64

简介:

问题:

    1>d:/program files/microsoft visual studio 8/vc/platformsdk/include/winnt.h(223) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
1>d:/program files/microsoft visual studio 8/vc/platformsdk/include/winnt.h(223) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:/program files/microsoft visual studio 8/vc/platformsdk/include/winnt.h(5941) : error C2146: syntax error : missing ';' before identifier 'Buffer'
1>d:/program files/microsoft visual studio 8/vc/platformsdk/include/winnt.h(5941) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:/program files/microsoft visual studio 8/vc/platformsdk/include/winnt.h(5941) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in

解决方法:

     在winnt.h文件中修改:

添加:#define POINTER_64 __ptr64

在typedef void *PVOID;   typedef void * POINTER_64 PVOID64;这两句之前。

    原因opencv的定义与微软的有差异,而引起的。

本文转自博客园知识天地的博客,原文链接:VS2005错误 missing ';' before identifier 'PVOID64,如需转载请自行联系原博主。

相关文章
|
6月前
Invalid bound statement (not found)错误【已解决】
Invalid bound statement (not found)错误【已解决】
258 1
|
6月前
|
Python
【已解决】WARNING: Ignoring invalid distribution xxx
【已解决】WARNING: Ignoring invalid distribution xxx
VC6:missing ‘;‘ before ‘type‘
VC6:missing ‘;‘ before ‘type‘
78 0
Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC
Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC
|
编译器
解决Invalid bound statement (not found)错误~
解决Invalid bound statement (not found)错误~
|
应用服务中间件
Tomcat请求特殊字符参数问题:Invalid character found in the request target. The valid characters are defined in
Tomcat请求特殊字符参数问题:Invalid character found in the request target. The valid characters are defined in
769 0
Tomcat请求特殊字符参数问题:Invalid character found in the request target. The valid characters are defined in
|
Linux
Specified sample format -1 is invalid or not supported
Specified sample format -1 is invalid or not supported
236 0
Specified sample format -1 is invalid or not supported
|
JSON Java 数据格式
JSONException: illegal identifier : \pos 1 异常报错问题
JSONException: illegal identifier : \pos 1 异常报错问题
709 0
工银e生活开发脱坑日志(7)Missing argument 6 for IcbcSignature::verify()
工银e生活开发脱坑日志(7)Missing argument 6 for IcbcSignature::verify()
75 0
|
XML SQL 数据格式
Invalid bound statement (not found)错误的可能原因
Invalid bound statement (not found)错误的可能原因
852 0

热门文章

最新文章