我在 MS Visual Express C++ 2010 上运行 .cpp 代码。
它运行良好。之后,我添加了 OpenMP 语句并包含了 omp.h 头文件。当我运行它时,我收到以下错误:
fatal error C1083: Cannot open include file: 'omp.h': No such file or directory
有谁知道如何解决它?
谢谢。
我在 MS Visual Express C++ 2010 上运行 .cpp 代码。
它运行良好。之后,我添加了 OpenMP 语句并包含了 omp.h 头文件。当我运行它时,我收到以下错误:
fatal error C1083: Cannot open include file: 'omp.h': No such file or directory
有谁知道如何解决它?
谢谢。
如果你还在使用 VS express 和 OpenMP,你可以使用这个:http ://www.ssidelnikov.ru/en/2011/05/openmp-visual-studio-2010-express/
OpenMP 在 Visual C++ 2010 Express 版本中不可用。 msdn链接