clang-omp / clang

clang with OpenMP 3.1 and some elements of OpenMP 4.0 support
clang-omp.github.com
Other
91 stars 15 forks source link

hello.c:1:10: fatal error: 'omp.h' file not found #38

Closed songololo closed 10 years ago

songololo commented 10 years ago

When trying to use on Mac Mavericks I get the following error: hello.c:1:10: fatal error: 'omp.h' file not found

alexey-bataev commented 10 years ago

Hello, you need to get the OpenMP runtime library (see here http://openmp.llvm.org/), build it and add -I to your compilation command.

Best regards, Alexey Bataev


Software Engineer Intel Compiler Team Intel Corp.