<p>I'm willing to bet that the issue here is that your final link isn't properly linking against mlpack. Maybe do you need to add <code>/usr/local/lib/</code> to <code>LFLAGS</code>? I don't see any issues with <code>Graph::sparsifyGraph()</code>.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/441#issuecomment-110473337">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJMQMr-kKftbrnEP61rnUSbahF0xks5oRzRNgaJpZM4E5QzN.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/441#issuecomment-110473337"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>