-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi, I'm trying to install HaploBlocker but I get the following error. I tried also to install it directly using devtools::install_github('tpook92/HaploBlocker', subdir='pkg') but same error. Also when trying to load RandomFieldsUtils.
Any help will be much appreciated.
install.packages("~/Downloads/HaploBlocker_1.5.8.tar", repos = NULL, type='source')
- installing source package ‘HaploBlocker’ ...
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RandomFieldsUtils/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp -fPIC -Wall -g -O2 -c chaploblocker.cc -o chaploblocker.o
clang: error: unsupported option '-fopenmp'
make: *** [chaploblocker.o] Error 1
ERROR: compilation failed for package ‘HaploBlocker’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/HaploBlocker’
Metadata
Metadata
Assignees
Labels
No labels