我试图将OpenMP添加到正在使用CMake构建的项目中。在Linux上使用标准的CMake/OpenMP添加构建它没有问题:if (OPENMP_FOUND)-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS)
-- Could NOT find <em
我试图在Windows上使用OpenMP 4.5,但MSVC似乎不支持OpenMP > 2.0-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX(missing: OpenMP_CXX_FLAGS OpenM
Please rebuild the library with USE_OPENMP=1 option.Please rebuild the library with USE_OPENMP=1 option.Please rebuild the library with USE_OPENMP=1 option.Please rebuild the library with USE_OPENMP=1 option.下面是我的src/Makevars文件
PKG_CPPFLAGS = $(SHLIB_OPEN
Please rebuild the library with USE_OPENMP=1 option.我尝试从GitHub页面安装OpenBLAS,并使用USE_OPENMP=1标志,如下所示: How to make openBLAS work with openMP?8; // Default number of threads for OpenMP
{
# ifdef _OPENMPPle