Published on

Cannot Find `omp.h` in Visual Studio 2008

Authors

Yesterday I tried to build a project that uses OpenMP and got an error saying that omp.h could not be found.

'omp.h': No such file or directory

I had Visual C++ 2008 Standard installed, but it turns out that the Standard edition does not include OpenMP. I downloaded and installed the Windows SDK from here, and that solved the problem.

You only need to install Visual C++ Compilers. In the installer, check [Developer Tools] -> [Visual C++ Compilers].

Reference:

http://d.hatena.ne.jp/chuujou/20090724/1248415239