<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 > const&)", 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&, int, boost::function1, std::allocator >, std::basic_string, std::allocator > >, std::basic_string, std::allocator > const&>) in cli.cpp.o<br>
"boost::program_options::basic_parsed_options boost::program_options::parse_config_file(std::basic_istream >&, boost::program_options::options_description const&, bool)", referenced from:<br>
mlpack::CLI::ParseStream(std::basic_istream >&) in cli.cpp.o<br>
"boost::program_options::options_description::options_description(std::basic_string, std::allocator > const&, 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 > const&) in cli.cpp.o<br>
mlpack::CLI::CLI(std::basic_string, std::allocator > const&) 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 >, std::basic_string, std::allocator > >, std::basic_string, std::allocator > const&>)", 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&, int, boost::function1, std::allocator >, std::basic_string, std::allocator > >, std::basic_string, std::allocator > const&>) in cli.cpp.o<br>
"boost::program_options::detail::cmdline::cmdline(std::vector, std::allocator >, std::allocator, std::allocator > > > const&)", 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&, int, boost::function1, std::allocator >, std::basic_string, std::allocator > >, std::basic_string, std::allocator > const&>) in cli.cpp.o<br>
"boost::program_options::validate(boost::any&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::basic_string, std::allocator ></em>, int)", referenced from:<br>
boost::program_options::typed_value, std::allocator >, char>::xparse(boost::any&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) 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&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, bool) const", referenced from:<br>
vtable for boost::program_options::typed_value, std::allocator >, char> 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;">—<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>