无法在Mac终端上运行make命令

时间:2020-01-29 17:32:34

标签: xcode macos opengl makefile path

我正在尝试在MacOS中安装“ OpenGL”,同时安装了“ make”。在终端中,当我运行“ make”时,出现以下错误。

dyld: Symbol not found: _OBJC_IVAR_$_NSFont._fFlags
  Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
  Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 in /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
make: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch

由于技术原因,我无法访问应用商店。有人可以告诉您如何解决上述问题吗?

0 个答案:

没有答案