本文介绍了如何获得sal.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图编译一个程序与minw32,在win7。每次我尝试编译这个,我得到一个关于sal.h缺失的错误。我已经下载了visual studio c ++ 20010(快递),并得到了微软win7 sdk。即使在所有这一切后,我仍然没有找到头文件。是否有任何地方可以从中下载?

I have been trying to compile a program with minw32, on win7. Every time I try to compile this, I get an error about sal.h missing. I have downloaded both visual studio c++ 20010 (Express) and have gotten the microsoft win7 sdk. Even after all this, I still haven't found that header file. Is there any place I could download it from?

推荐答案

它位于

"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include" (VS 2008)

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include" (VS 2010)
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include" (VS 2012)

当然,您可能需要适应您的本地安装路径。

of course, you may want to adapt to your local setup paths.

这篇关于如何获得sal.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 08:09