I try to run this command: g++ -o lab0 lab0.cpp -lm -fopenmp
However, it returns: clang: error: unsupported option '-fopenmp'
I have already installed gcc, llvm, libomp. I'm not sure what to do anymore. This is all my code has:
#include <iostream> using namespace std;./ int main() { cout << "Hello World" << endl; return 0; }
https://stackoverflow.com/questions/66913629/error-when-trying-to-install-openmp-on-mac-os April 02, 2021 at 10:05AM
没有评论:
发表评论