Closed sabrinazhong98 closed 5 years ago
I have a problem using gcc on Mac.
In a terminal:
zydeMacBook-Air:~ zy$ gcc
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
zydeMacBook-Air:~ zy$
It turns out that I didn't install Xcode
.
zydeMacBook-Air:~ zy$ xcode-select --install
xcode-select: note: install requested for command line developer tools
zydeMacBook-Air:~ zy$ gcc
clang: error: no input files
zydeMacBook-Air:~ zy$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
zydeMacBook-Air:~ zy$
It works after installing Xcode
.
I have the following errors while installing RAnEn on Mac Air.