error.xcrun.clang¶
What happens¶
- CMake fatal error with message
[hunter ** FATAL ERROR **] 'xcrun -f clang++' failed
What to do¶
xcrun[1] is a part ofXcodeenvironment. Probably xcode is broken or not installed at all. May be command line tools need to be installed also. After that, simply check thatxcrun -f clang++returns the full path to clang compiler. See alsoxcode-select[2].
| [1] | https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcrun.1.html |
| [2] | https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html |