Open irisjingliu opened 4 years ago
Hi, I know this issue is pretty old and you probably already fixed it. But for posterity, I was able to fix this error by enabling OpenMP on Mac with the following tutorial: https://mac.r-project.org/openmp/
Hi, thanks a lot for this fix. Would it it be possible to open a pull request?
Hi Pavlo, I didn't change any code for this, so I don't think a pull request would be necessary. OpenMP support for compilers is disabled by default on Mac, which causes the above error. No changes to the code have to be made on your end but it might be handy to include it in the README that Mac users might have to enable this at their end to be able to compile the package.
OK, thanks, understood. Then just a pull request to the README perhaps?
HCLasso.cpp:47:10: fatal error: 'omp.h' file not found
include
1 error generated. make: *** [HCLasso.o] Error 1 ERROR: compilation failed for package ‘MeDeCom’