Use OpenMP with Windows SDK

2020-04-14 08:02发布

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

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?

标签: winapi openmp
1条回答
Fickle 薄情
2楼-- · 2020-04-14 08:33

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.

查看更多
登录 后发表回答