<p>Hi all,<br>
When I compile the Mlpack2.0.1 in Mac os, some error happens: (Mac os 10.11, gcc4.9, boost1.60.0)<br>
I switched gcc from 5.3 to 4.9 for gcc_5.3 will not support OpenMp anymore....</p>

<p>but seems not work for this switching.<br>
Does anyone meet this case like bellow?</p>

<p>Linking CXX shared library ../../lib/libmlpack.dylib<br>
Undefined symbols for architecture x86_64:<br>
  "boost::program_options::to_internal(std::basic_string, std::allocator &gt; const&amp;)", referenced from:<br>
      boost::program_options::basic_parsed_options boost::program_options::parse_command_line(int, char const* const<em>, boost::program_options::options_description const&amp;, int, boost::function1, std::allocator &gt;, std::basic_string, std::allocator &gt; &gt;, std::basic_string, std::allocator &gt; const&amp;&gt;) in cli.cpp.o<br>
  "boost::program_options::basic_parsed_options boost::program_options::parse_config_file(std::basic_istream &gt;&amp;, boost::program_options::options_description const&amp;, bool)", referenced from:<br>
      mlpack::CLI::ParseStream(std::basic_istream &gt;&amp;) in cli.cpp.o<br>
  "boost::program_options::options_description::options_description(std::basic_string, std::allocator &gt; const&amp;, unsigned int, unsigned int)", referenced from:<br>
      mlpack::CLI::CLI()  in cli.cpp.o<br>
      mlpack::CLI::CLI()  in cli.cpp.o<br>
      mlpack::CLI::CLI(std::basic_string, std::allocator &gt; const&amp;) in cli.cpp.o<br>
      mlpack::CLI::CLI(std::basic_string, std::allocator &gt; const&amp;) in cli.cpp.o<br>
      mlpack::CLI::GetSingleton()     in cli.cpp.o<br>
  "boost::program_options::detail::cmdline::set_additional_parser(boost::function1, std::allocator &gt;, std::basic_string, std::allocator &gt; &gt;, std::basic_string, std::allocator &gt; const&amp;&gt;)", referenced from:<br>
      boost::program_options::basic_parsed_options boost::program_options::parse_command_line(int, char const</em> const<em>, boost::program_options::options_description const&amp;, int, boost::function1, std::allocator &gt;, std::basic_string, std::allocator &gt; &gt;, std::basic_string, std::allocator &gt; const&amp;&gt;) in cli.cpp.o<br>
  "boost::program_options::detail::cmdline::cmdline(std::vector, std::allocator &gt;, std::allocator, std::allocator &gt; &gt; &gt; const&amp;)", referenced from:<br>
      boost::program_options::basic_parsed_options boost::program_options::parse_command_line(int, char const</em> const<em>, boost::program_options::options_description const&amp;, int, boost::function1, std::allocator &gt;, std::basic_string, std::allocator &gt; &gt;, std::basic_string, std::allocator &gt; const&amp;&gt;) in cli.cpp.o<br>
  "boost::program_options::validate(boost::any&amp;, std::vector, std::allocator &gt;, std::allocator, std::allocator &gt; &gt; &gt; const&amp;, std::basic_string, std::allocator &gt;</em>, int)", referenced from:<br>
      boost::program_options::typed_value, std::allocator &gt;, char&gt;::xparse(boost::any&amp;, std::vector, std::allocator &gt;, std::allocator, std::allocator &gt; &gt; &gt; const&amp;) const in cli.cpp.o<br>
  "boost::program_options::abstract_variables_map::operator const", referenced from:<br>
      mlpack::CLI::UpdateGmap()     in cli.cpp.o<br>
  "boost::program_options::value_semantic_codecvt_helper::parse(boost::any&amp;, std::vector, std::allocator &gt;, std::allocator, std::allocator &gt; &gt; &gt; const&amp;, bool) const", referenced from:<br>
      vtable for boost::program_options::typed_value, std::allocator &gt;, char&gt; in cli.cpp.o<br>
ld: symbol(s) not found for architecture x86_64<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [lib/libmlpack.2.0.dylib] Error 1<br>
make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2<br>
make: *** [all] Error 2</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">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFCY3EdCw2OHw8VpXElwbhyZrrgqVks5p7jfTgaJpZM4IQHAi.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"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>