Compiling with gcc in macOS Mojave

后端 未结 1 870
悲&欢浪女
悲&欢浪女 2021-01-23 04:56

Before updating to Mojave I was compiling C programs just fine. I used an older version of gcc, 7.3, that I installed using the instructions found here.

Then I updated t

1条回答
  •  Happy的楠姐
    2021-01-23 05:42

    I figured out how to fix it. I went to

    /Library/Developer/CommandLineTools/Packages/
    

    then opened and installed macOS_SDK_headers_for_macOS_10.14.pkg.

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