Search code examples
c++cxcodeopenmp

How to use OpenMP in Xcode 9.0


Does anyone know how to enable the use of OpenMP in Xcode 9.0?

In Xcode 8, I procide as described in this tutorial but it doesn't work anymore in Xcode 9.0 ...

The error is : clang-5.0: error: cannot specify -o when generating multiple output files

Thanks in advance for help


Solution

  • I think the problem is in flag -index-store-path In build settings > build options set Enable Index-While-Building Functionality to No