gcc -fopenmp xx.c -o qwe 报错 修改为: gcc-8 -fopenmp OpenMP_Matrix.cpp -lstdc++ -o OpenMP_Matrix 参考:https://github.com/Microsoft/LightGBM/issues/3