Mac upgrade to Yosemite, suddenly found vim youcompleteme code hint so empty check members, troubleshooting, originally/usr/include directory missing. All the C + + header files are missing.
。。
The first time I found this problem. Do not know whether each Mac upgrade will be deleted/usr/include, or only when incompatible with the deletion, very strange.
The Mac has a tool for managing the development environment, Xcode-select, which allows you to download command-line development tools (including GCC, etc.). Perform:
Xcode-select--install
The above command will download the installation command-line development tool, and/usr/include will appear after completion.
This tool can also be used to manage multiple versions of Xcode, detailed man Xcode-select
Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
Mac next/usr/include missing