Pybind11 doesn't work or C++ doesn't compile after upgrading to Mojave: -lstdc++ not found

前端 未结 1 481
情书的邮戳
情书的邮戳 2020-12-07 05:31

I was able to install the pybind11 example here before I upgraded my MacOS. However, after I upgraded my MacOS to Mojave, when I compile the same example on that link, I see

相关标签:
1条回答
  • 2020-12-07 06:03

    I actually found the answer. I only needed to do

    export MACOSX_DEPLOYMENT_TARGET=10.9

    The installation went smoothly.

    0 讨论(0)
提交回复
热议问题