怎样在VS中设置编译选项(以启用OpenMP) Open the project's Property Pages dialog box. (在解决方案资源管理器中右击项目图标)打开项目属性对话框 Expand the Configuration Properties node. 展开配置属性节点 3. Expand the C/C++ node. 展开C/C++节点 4. Select the Language property page. 选择语言属性页 5. Modify the OpenMP Support property. 将OpenMP支持选项选为“是”