ld: library not found for -lomp

后端 未结 3 1363
不知归路
不知归路 2021-01-06 08:17

In macOS Sierra, installation for xgboost with openmp enabled always fails.

From https://xgboost.readthedocs.io/en/latest/build.html,

I\'ve trie

3条回答
  •  我在风中等你
    2021-01-06 09:08

    In my case I solved adding the following linker flag in addition to -lomp:

    -Lpath_to_libomp.dylib_folder

    or something like:

    -Llib/

提交回复
热议问题