将OpenMP与Windows SDK一起使用

编程入门 行业动态 更新时间:2024-10-23 23:34:26
本文介绍了将OpenMP与Windows SDK一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我知道VC2010 Express Edition不包含OpenMP支持,因此会报告缺少omp.h文件.因此,我已经在Windows中安装了Windows SDK v7.1 64位版本.但是,即使我跑了:

I am aware that VC2010 Express Edition does not include OpenMP support and therefore would report omp.h file missing. Therefore, I have installed Windows SDK v7.1 64-bit version in Windows. However, even I ran:

set DISTUTIL_USE_SDK=1 setenv /x64 /release

然后尝试编译代码,它仍然会报告找不到omp.h.有人可以给我提示如何解决这个问题吗?

And then try to compile the code, it would still report cannot find omp.h. Could anyone give me a hint on how to solve this?

推荐答案

进行了一些检查,看来OpenMP并不是Windows SDK的一部分,并且仅随Visual C ++ 2010一起提供. /openmp/wp/openmp-compilers/"rel =" nofollow>专业版或旗舰版.

Did some checking, and it appears that OpenMP is not part of the Windows SDK, and is only shipped with Visual C++ 2010 Professional or Ultimate editions.

更多推荐

将OpenMP与Windows SDK一起使用

本文发布于:2023-11-14 04:40:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586245.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:OpenMP   Windows   SDK

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!