-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何在mac m1上解决编译时候openmp找不到问题? #195
Comments
不好意思我没有M1苹果,这个真的不太好复现 |
好的,我再摸搜摸搜。解决了的话来回复。 |
可以查一下piosolver的视频,参数什么的都是相通的 |
大佬和GTO wizard做过对比测试吗 |
没有的,和piosolver必过,差不多 |
M1用Qt打开,修改下TexasSolverGui.pro 加上你 omp.h 的头文件路径 |
nice |
似乎是自带的编译器没有带openmp吧 |
装了omp找不到的话可能是环境变量的原因 |
@bupticybee
cmake 3.27
brew安装了libomp之后,cmake -DOpenMP_CXX_FLAG="-Xclang -fopenmp"
-DOpenMP_CXX_INCLUDE_DIR=/opt/homebrew/opt/libomp/include
-DOpenMP_CXX_LIB_NAMES=libomp -DOpenMP_C_FLAG="-Xclang -fopenmp"
-DOpenMP_C_INCLUDE_DIR=/opt/homebrew/opt/libomp/include
-DOpenMP_C_LIB_NAMES=libomp
-DOpenMP_libomp_LIBRARY=/opt/homebrew/opt/libomp/lib/libomp.dylib
依旧找不到omp库
The text was updated successfully, but these errors were encountered: