求助!clang: error: unsupported option '-fopenmp'
如题:这是我要在命令行输入的:
git clone https:// --recursive
cd w2v-sembei/
mkdir output
make
./w2v-sembei 1000 10000 10000 10000 --corpus sample.txt --window 1 --dim 50
但是进行到make这个步骤的时候,总是提示:
[g++ --std=c++11 -Wall -Wno-sign-compare -Wno-unknown-pragmas -fPIC -fopenmp -O3 -pthread -I"/usr/include/" -c docopt.cpp/docopt.cpp -o docopt.o
clang: error: unsupported option '-fopenmp'
make: *** [docopt.o] Error 1]
我是macOS High Sierra
这是我的版本号:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
感激不尽!