Homebrew El Capitan

Question or issue on macOS:

I just updated from Yosemite to El Capitan and it has broken one of my C++ programs which was relying on Boost. Whenever I try to compile, I get these errors:

I’ve been compiling it with the correct flags and it worked perfectly before:

I’ve followed the home-brew instructions to chown /usr/local, run brew doctor and brew update, even brew reinstall boost. I’ve also checked and timer.hpp is present in /usr/local/include/boost.

GRASS GIS 7.0.x for El Capitan without disabling SIP The new homebrew recipe for GRASS 7.0 does install on El Capitan with SIP enabled! This is thanks to Larry Shaffer. El Capitanになって/usr/binなどへのユーザインストールができなくなったので、軒並み/usr/local/binへ移行しているものが.

Update Ran: clang++ -E -x c++ – -v < /dev/null

How to solve this problem?

Solution no. 1:

You should install the Xcode Command Line tools with xcode-select --install to get a version of clang that searches /usr/local by default. Otherwise, you’re using the versions provided by Xcode proper, which only search the OS X SDK paths. (/usr/bin/gcc and /usr/bin/g++ both invoke clang and are not actually versions of gcc.)

Solution no. 2:

I had the same problem when I upgraded to El Capitan. I solved this problem reinstalling Boost with brew.

If you don’t have brew installed, you can install it with

Then, install boost

Hope this helps!

TheatreFree

El Capitan Os X Download

  • Install Homebrew


    Paste that in a macOS Terminal or Linux shell prompt.

    The script explains what it will do and then pauses before it does it. Read about other installation options.

  • What Does Homebrew Do?


    Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.

  • Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

  • Homebrew won’t install files outside its prefix and you can place a Homebrew installation wherever you like.

  • It’s all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.

  • Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew.

  • “To install, drag this icon…” no more. Homebrew Cask installs macOS apps, fonts and plugins and other non-open source software.

  • Donate to Homebrew

  • Homebrew Blog

  • Analytics Data

  • Homebrew was created by Max Howell. Website by Rémi Prévost, Mike McQuaid and Danielle Lalonde.

Comments are closed.