<p>It looks to me like CMake is finding clang instead of gcc to use.  Maybe you should try something like this:</p>

<pre><code>cmake -DCMAKE_CXX_COMPILER=/path/to/gcc49 ../
</code></pre>

<p>(I don't know what the path to the gcc49 program is, so you will have to change that.)</p>

<p>It looks to me like there was no actual error during the CMake configuration process with clang, but I do think it might cause problems later if you compile Boost with gcc but mlpack with clang.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/630#issuecomment-215107873">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFK5HTUUFjmdtQcOrVKMNvoQXm-kJks5p73dogaJpZM4IQHAi.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/630#issuecomment-215107873"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>