Xcode C++ omp.h file not found
问题 I’m trying to include openmp to my Xcode C++ project. I have changed my compiler in Xcode to LLVM GCC 4.2, added ”-fopenmp” as a CFlag and enabled OpenMP support in xcode as well. But it still says ”‘omp.h’ file not found” and i am unable to build the project. Does anyone know what could be wrong and how to fix this? 回答1: I have had the same problem. Try going to the project navigator using the panel at the left side. Select your project (the one with the blue icon), and a different main