fatal error C1083: Cannot open include file: 'omp.h': No such file or directory

10,238

Solution 1

OpenMP is not available in Visual C++ 2010 Express edition. msdn link

Solution 2

If you are stil using VS express and OpenMP, you can use use this: http://www.ssidelnikov.ru/en/2011/05/openmp-visual-studio-2010-express/

Share:
10,238
Benny
Author by

Benny

Updated on July 20, 2022

Comments

  • Benny
    Benny almost 2 years

    I am running a .cpp code on MS Visual Express C++ 2010.

    It runs fine. After that I added OpenMP statements and included the omp.h header file. When I run it, I get the following error:

    fatal error C1083: Cannot open include file: 'omp.h': No such file or directory

    Does anyone know how to resolve it?

    Thanks.