I've install OpenMP via homebrew:
brew install libomp
But Xcode doesn't see file in my c-project:
'omp.h' file not found
Reinstallation of omp doesn't fix it.
How to fix this problem?
OS: Big Sur (Intel)
I've install OpenMP via homebrew:
Not exactly. You've installed an Open MP runtime library, but that is no use with a compiler that supports OpenMP, and Apple's compilers do not.
Since you are using homebrew
already you can clearly use it to install a compiler which does support OpenMP. Both GCC and LLVM support OpenMP and are available in homebrew, which you choose is up to you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.