Boost compilation errors
<p>I am trying to compile a topology library called <code>Dionysus</code> in C++. I keep running into a compile error related to the <code>Boost</code> library, but I cannot seem to figure out what the issue is? I have reinstalled boost a few times, and I am using version 1.62.0. I am also using <code>gcc</code> version 4.9.4. </p>

<p>The error message is below:</p>

<pre><code>CMakeFiles/compare-diagrams.dir/compare-diagrams.o: In function `void boost::archive::binary_iarchive_impl&lt;boost::archive::binary_iarchive, char, std::char_traits&lt;char&gt; &gt;::load_override&lt;boost::archive::class_name_type&gt;(boost::archive::class_name_type&amp;)':
/usr/lib/include/boost/archive/binary_iarchive_impl.hpp:58: undefined reference to `boost::archive::basic_binary_iarchive&lt;boost::archive::binary_iarchive&gt;::load_override(boost::archive::class_name_type&amp;)'
CMakeFiles/compare-diagrams.dir/compare-diagrams.o: In function `void boost::serialization::throw_exception&lt;boost::archive::archive_exception&gt;(boost::archive::archive_exception const&amp;)':
/usr/lib/include/boost/serialization/throw_exception.hpp:36: undefined reference to `boost::archive::archive_exception::archive_exception(boost::archive::archive_exception const&amp;)'
collect2: error: ld returned 1 exit status
examples/alphashapes/CMakeFiles/compare-diagrams.dir/build.make:96: recipe for target 'examples/alphashapes/compare-diagrams' failed
</code></pre>

<p>The error seems to relate to the<code>/usr/lib/include/boost/archive/binary_iarchive_impl.hpp:58</code> but the file is there and all of the other files seem to be in place. </p>

<p>Any suggestions?</p>