安装MS Platform SDK后在Visual C ++ 2008中进行编译时出现错误 [英] Errors while Compiling in Visual C++ 2008, after installation of MS Platform SDK
本文介绍了安装MS Platform SDK后在Visual C ++ 2008中进行编译时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用OpenCV,并且在安装Microsoft Platform SDK以使用OpenGL之后,在尝试编译我的opencv项目时会出现这些错误.
I was using OpenCV and after I installed Microsoft Platform SDK to work with OpenGL these errors are showing up when trying to compile my opencv project.
1>d:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
1> d:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
1>d:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
1> d:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
推荐答案
解决方案: 查看全文