<pre><code>             from /usr/include/boost/fusion/container/vector/vector10.hpp:15,
             from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,
             from /usr/include/boost/fusion/container/vector/vector.hpp:10,
             from /usr/include/boost/fusion/tuple/tuple.hpp:11,
             from /usr/include/boost/fusion/tuple.hpp:10,
             from /usr/include/boost/fusion/include/tuple.hpp:10,
             from /usr/include/boost/math/tools/tuple.hpp:89,
             from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,
             from /usr/include/boost/math/special_functions/gamma.hpp:1696,
             from /usr/local/include/mlpack/prereqs.hpp:40,
             from /usr/local/include/mlpack/core.hpp:207,
             from a.cpp:2:
</code></pre>

<p>/usr/include/boost/fusion/sequence/intrinsic/end.hpp:89:5: note:   ‘boost::fusion::end’<br>
     end(Sequence const&amp; seq)<br>
     ^<br>
In file included from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:13:0,<br>
                 from /usr/include/boost/fusion/container/vector/vector10.hpp:15,<br>
                 from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,<br>
                 from /usr/include/boost/fusion/container/vector/vector.hpp:10,<br>
                 from /usr/include/boost/fusion/tuple/tuple.hpp:11,<br>
                 from /usr/include/boost/fusion/tuple.hpp:10,<br>
                 from /usr/include/boost/fusion/include/tuple.hpp:10,<br>
                 from /usr/include/boost/math/tools/tuple.hpp:89,<br>
                 from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:1696,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/fusion/sequence/intrinsic_fwd.hpp:67:16: note:   ‘boost::fusion::result_of::end’<br>
         struct end;<br>
                ^<br>
In file included from /usr/local/include/mlpack/core/data/load.hpp:144:0,<br>
                 from /usr/local/include/mlpack/core.hpp:213,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: In lambda function:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:51:12: error: ‘move’ is not a member of ‘std’<br>
     return std::move(trimmedToken);<br>
            ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: At global scope:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:58:57: error: ‘&gt;&gt;’ should be ‘&gt; &gt;’ within a nested template argument list<br>
 void TransPoseTokens(std::vectorstd::vector&lt;std::string&gt; const &amp;input,<br>
                                                         ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: In function ‘void mlpack::data::details::TransPoseTokens(const std::vectorstd::vector&lt;std::basic_string&lt;char &gt; &gt;&amp;, std::vectorstd::basic_string&lt;char &gt;&amp;, size_t)’:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:65:12: error: ‘class std::vectorstd::basic_string&lt;char &gt;’ has no member named ‘emplace_back’<br>
     output.emplace_back(input[i][index]);<br>
            ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: In function ‘void mlpack::data::details::MapToNumerical(const std::vectorstd::basic_string&lt;char &gt;&amp;, size_t&amp;, mlpack::data::DatasetInfo&amp;, arma::Mat&amp;)’:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:75:8: error: ‘notNumber’ does not name a type<br>
   auto notNumber = <br>
        ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:84:27: error: ‘any_of’ is not a member of ‘std’<br>
   const bool notNumeric = std::any_of(std::begin(tokens),<br>
                           ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:84:39: error: ‘begin’ is not a member of ‘std’<br>
   const bool notNumeric = std::any_of(std::begin(tokens),<br>
                                       ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:84:39: note: suggested alternatives:<br>
In file included from /usr/include/boost/range/functions.hpp:18:0,<br>
                 from /usr/include/boost/range/iterator_range_core.hpp:28,<br>
                 from /usr/include/boost/lexical_cast.hpp:174,<br>
                 from /usr/include/boost/math/constants/constants.hpp:18,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:22,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/range/begin.hpp:112:61: note:   ‘boost::range_adl_barrier::begin’<br>
 inline BOOST_DEDUCED_TYPENAME range_iterator::type begin( const T&amp; r )<br>
                                                             ^<br>
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,<br>
                 from /usr/include/boost/mpl/list/list0.hpp:27,<br>
                 from /usr/include/boost/mpl/list/list10.hpp:18,<br>
                 from /usr/include/boost/mpl/list/list20.hpp:18,<br>
                 from /usr/include/boost/mpl/list.hpp:36,<br>
                 from /usr/include/boost/math/policies/policy.hpp:9,<br>
                 from /usr/include/boost/math/tools/precision.hpp:19,<br>
                 from /usr/include/boost/math/tools/fraction.hpp:17,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:18,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note:   ‘boost::mpl::begin’<br>
 template&lt; typename Sequence &gt; struct begin;<br>
                                      ^<br>
In file included from /usr/include/boost/range/functions.hpp:18:0,<br>
                 from /usr/include/boost/range/iterator_range_core.hpp:28,<br>
                 from /usr/include/boost/lexical_cast.hpp:174,<br>
                 from /usr/include/boost/math/constants/constants.hpp:18,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:22,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/range/begin.hpp:112:61: note:   ‘boost::range_adl_barrier::begin’<br>
 inline BOOST_DEDUCED_TYPENAME range_iterator::type begin( const T&amp; r )<br>
                                                             ^<br>
In file included from /usr/include/boost/fusion/container/vector/vector10.hpp:15:0,<br>
                 from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,<br>
                 from /usr/include/boost/fusion/container/vector/vector.hpp:10,<br>
                 from /usr/include/boost/fusion/tuple/tuple.hpp:11,<br>
                 from /usr/include/boost/fusion/tuple.hpp:10,<br>
                 from /usr/include/boost/fusion/include/tuple.hpp:10,<br>
                 from /usr/include/boost/math/tools/tuple.hpp:89,<br>
                 from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:1696,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/fusion/sequence/intrinsic/begin.hpp:89:5: note:   ‘boost::fusion::begin’<br>
     begin(Sequence const&amp; seq)<br>
     ^<br>
In file included from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:13:0,<br>
                 from /usr/include/boost/fusion/container/vector/vector10.hpp:15,<br>
                 from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,<br>
                 from /usr/include/boost/fusion/container/vector/vector.hpp:10,<br>
                 from /usr/include/boost/fusion/tuple/tuple.hpp:11,<br>
                 from /usr/include/boost/fusion/tuple.hpp:10,<br>
                 from /usr/include/boost/fusion/include/tuple.hpp:10,<br>
                 from /usr/include/boost/math/tools/tuple.hpp:89,<br>
                 from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:1696,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/fusion/sequence/intrinsic_fwd.hpp:61:16: note:   ‘boost::fusion::result_of::begin’<br>
         struct begin;<br>
                ^<br>
In file included from /usr/local/include/mlpack/core/data/load.hpp:144:0,<br>
                 from /usr/local/include/mlpack/core.hpp:213,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:85:39: error: ‘end’ is not a member of ‘std’<br>
                                       std::end(tokens), notNumber);<br>
                                       ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:85:39: note: suggested alternatives:<br>
In file included from /usr/include/boost/range/functions.hpp:19:0,<br>
                 from /usr/include/boost/range/iterator_range_core.hpp:28,<br>
                 from /usr/include/boost/lexical_cast.hpp:174,<br>
                 from /usr/include/boost/math/constants/constants.hpp:18,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:22,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/range/end.hpp:106:61: note:   ‘boost::range_adl_barrier::end’<br>
 inline BOOST_DEDUCED_TYPENAME range_iterator::type end( const T&amp; r )<br>
                                                             ^<br>
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,<br>
                 from /usr/include/boost/mpl/list/list0.hpp:27,<br>
                 from /usr/include/boost/mpl/list/list10.hpp:18,<br>
                 from /usr/include/boost/mpl/list/list20.hpp:18,<br>
                 from /usr/include/boost/mpl/list.hpp:36,<br>
                 from /usr/include/boost/math/policies/policy.hpp:9,<br>
                 from /usr/include/boost/math/tools/precision.hpp:19,<br>
                 from /usr/include/boost/math/tools/fraction.hpp:17,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:18,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note:   ‘boost::mpl::end’<br>
 template&lt; typename Sequence &gt; struct end;<br>
                                      ^<br>
In file included from /usr/include/boost/range/functions.hpp:19:0,<br>
                 from /usr/include/boost/range/iterator_range_core.hpp:28,<br>
                 from /usr/include/boost/lexical_cast.hpp:174,<br>
                 from /usr/include/boost/math/constants/constants.hpp:18,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:22,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/range/end.hpp:106:61: note:   ‘boost::range_adl_barrier::end’<br>
 inline BOOST_DEDUCED_TYPENAME range_iterator::type end( const T&amp; r )<br>
                                                             ^<br>
In file included from /usr/include/boost/fusion/container/list/cons.hpp:14:0,<br>
                 from /usr/include/boost/fusion/iterator/segmented_iterator.hpp:13,<br>
                 from /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:11,<br>
                 from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:17,<br>
                 from /usr/include/boost/fusion/container/vector/vector10.hpp:15,<br>
                 from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,<br>
                 from /usr/include/boost/fusion/container/vector/vector.hpp:10,<br>
                 from /usr/include/boost/fusion/tuple/tuple.hpp:11,<br>
                 from /usr/include/boost/fusion/tuple.hpp:10,<br>
                 from /usr/include/boost/fusion/include/tuple.hpp:10,<br>
                 from /usr/include/boost/math/tools/tuple.hpp:89,<br>
                 from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:1696,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/fusion/sequence/intrinsic/end.hpp:89:5: note:   ‘boost::fusion::end’<br>
     end(Sequence const&amp; seq)<br>
     ^<br>
In file included from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:13:0,<br>
                 from /usr/include/boost/fusion/container/vector/vector10.hpp:15,<br>
                 from /usr/include/boost/fusion/container/vector/vector_fwd.hpp:14,<br>
                 from /usr/include/boost/fusion/container/vector/vector.hpp:10,<br>
                 from /usr/include/boost/fusion/tuple/tuple.hpp:11,<br>
                 from /usr/include/boost/fusion/tuple.hpp:10,<br>
                 from /usr/include/boost/fusion/include/tuple.hpp:10,<br>
                 from /usr/include/boost/math/tools/tuple.hpp:89,<br>
                 from /usr/include/boost/math/special_functions/detail/igamma_inverse.hpp:13,<br>
                 from /usr/include/boost/math/special_functions/gamma.hpp:1696,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:40,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/boost/fusion/sequence/intrinsic_fwd.hpp:67:16: note:   ‘boost::fusion::result_of::end’<br>
         struct end;<br>
                ^<br>
In file included from /usr/local/include/mlpack/core/data/load.hpp:144:0,<br>
                 from /usr/local/include/mlpack/core.hpp:213,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:85:57: error: ‘notNumber’ was not declared in this scope<br>
                                       std::end(tokens), notNumber);<br>
                                                         ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: In function ‘bool mlpack::data::Load(const string&amp;, arma::Mat&amp;, mlpack::data::DatasetInfo&amp;, bool, bool)’:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:436:64: error: ‘&gt;&gt;’ should be ‘&gt; &gt;’ within a nested template argument list<br>
     typedef boost::tokenizerboost::escaped_list_separator&lt;char&gt; Tokenizer;<br>
                                                                ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:465:43: error: no matching function for call to ‘std::basic_fstream::open(const string&amp;, const openmode&amp;)’<br>
     stream.open(filename, std::fstream::in);<br><br>
                                           ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:465:43: note: candidate is:<br>
In file included from /usr/include/armadillo:23:0,<br>
                 from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:78,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/c++/4.8/fstream:886:7: note: void std::basic_fstream&lt;_CharT, _Traits&gt;::open(const char<em>, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]<br>
       open(const char</em> __s,<br>
       ^<br>
/usr/include/c++/4.8/fstream:886:7: note:   no known conversion for argument 1 from ‘const string {aka const std::basic_string}’ to ‘const char<em>’<br>
In file included from /usr/local/include/mlpack/core/data/load.hpp:144:0,<br>
                 from /usr/local/include/mlpack/core.hpp:213,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:469:42: error: ‘&gt;&gt;’ should be ‘&gt; &gt;’ within a nested template argument list<br>
       std::vectorstd::vector&lt;std::string&gt; tokensArray;<br>
                                          ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:479:23: error: ‘class std::vectorstd::vector&lt;std::basic_string&lt;char &gt; &gt;’ has no member named ‘emplace_back’<br>
           tokensArray.emplace_back(std::move(tokens));<br>
                       ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:479:36: error: ‘move’ is not a member of ‘std’<br>
           tokensArray.emplace_back(std::move(tokens));<br>
                                    ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp: In function ‘bool mlpack::data::Load(const string&amp;, const string&amp;, T&amp;, bool, mlpack::data::format)’:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:553:12: error: ‘format’ is not a class or namespace<br>
   if (f == format::autodetect)<br>
            ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:558:11: error: ‘format’ is not a class or namespace<br>
       f = format::xml;<br>
           ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:560:11: error: ‘format’ is not a class or namespace<br>
       f = format::binary;<br>
           ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:562:11: error: ‘format’ is not a class or namespace<br>
       f = format::text;<br>
           ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:584:39: error: no matching function for call to ‘std::basic_ifstream::open(const string&amp;, const openmode&amp;)’<br>
   ifs.open(filename, std::ifstream::in);<br>
                                       ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:584:39: note: candidate is:<br>
In file included from /usr/include/armadillo:23:0,<br>
                 from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:78,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/c++/4.8/fstream:538:7: note: void std::basic_ifstream&lt;_CharT, _Traits&gt;::open(const char</em>, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]<br>
       open(const char* __s, ios_base::openmode __mode = ios_base::in)<br>
       ^<br>
/usr/include/c++/4.8/fstream:538:7: note:   no known conversion for argument 1 from ‘const string {aka const std::basic_string}’ to ‘const char<em>’<br>
In file included from /usr/local/include/mlpack/core/data/load.hpp:144:0,<br>
                 from /usr/local/include/mlpack/core.hpp:213,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:601:14: error: ‘format’ is not a class or namespace<br>
     if (f == format::xml)<br>
              ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:606:19: error: ‘format’ is not a class or namespace<br>
     else if (f == format::text)<br>
                   ^<br>
/usr/local/include/mlpack/core/data/load_impl.hpp:611:19: error: ‘format’ is not a class or namespace<br>
     else if (f == format::binary)<br>
                   ^<br>
In file included from /usr/local/include/mlpack/core.hpp:214:0,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/save.hpp: At global scope:<br>
/usr/local/include/mlpack/core/data/save.hpp:93:22: error: ‘format’ is not a class or namespace<br>
           format f = format::autodetect);<br>
                      ^<br>
In file included from /usr/local/include/mlpack/core/data/save.hpp:99:0,<br>
                 from /usr/local/include/mlpack/core.hpp:214,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/save_impl.hpp: In function ‘bool mlpack::data::Save(const string&amp;, const string&amp;, T&amp;, bool, mlpack::data::format)’:<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:197:12: error: ‘format’ is not a class or namespace<br>
   if (f == format::autodetect)<br>
            ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:202:11: error: ‘format’ is not a class or namespace<br>
       f = format::xml;<br>
           ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:204:11: error: ‘format’ is not a class or namespace<br>
       f = format::binary;<br>
           ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:206:11: error: ‘format’ is not a class or namespace<br>
       f = format::text;<br>
           ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:229:40: error: no matching function for call to ‘std::basic_ofstream::open(const string&amp;, const openmode&amp;)’<br>
   ofs.open(filename, std::ofstream::out);<br>
                                        ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:229:40: note: candidate is:<br>
In file included from /usr/include/armadillo:23:0,<br>
                 from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,<br>
                 from /usr/local/include/mlpack/prereqs.hpp:78,<br>
                 from /usr/local/include/mlpack/core.hpp:207,<br>
                 from a.cpp:2:<br>
/usr/include/c++/4.8/fstream:713:7: note: void std::basic_ofstream&lt;_CharT, _Traits&gt;::open(const char</em>, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]<br>
       open(const char* __s,<br>
       ^<br>
/usr/include/c++/4.8/fstream:713:7: note:   no known conversion for argument 1 from ‘const string {aka const std::basic_string}’ to ‘const char*’<br>
In file included from /usr/local/include/mlpack/core/data/save.hpp:99:0,<br>
                 from /usr/local/include/mlpack/core.hpp:214,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:246:14: error: ‘format’ is not a class or namespace<br>
     if (f == format::xml)<br>
              ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:251:19: error: ‘format’ is not a class or namespace<br>
     else if (f == format::text)<br>
                   ^<br>
/usr/local/include/mlpack/core/data/save_impl.hpp:256:19: error: ‘format’ is not a class or namespace<br>
     else if (f == format::binary)<br>
                   ^<br>
In file included from /usr/local/include/mlpack/core.hpp:217:0,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/math/random.hpp: At global scope:<br>
/usr/local/include/mlpack/core/math/random.hpp:29:22: error: ‘mt19937’ in namespace ‘std’ does not name a type<br>
 extern MLPACK_EXPORT std::mt19937 randGen;<br>
                      ^<br>
/usr/local/include/mlpack/core/math/random.hpp:31:22: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a type<br>
 extern MLPACK_EXPORT std::uniform_real_distribution&lt;&gt; randUniformDist;<br>
                      ^<br>
/usr/local/include/mlpack/core/math/random.hpp:33:22: error: ‘normal_distribution’ in namespace ‘std’ does not name a type<br>
 extern MLPACK_EXPORT std::normal_distribution&lt;&gt; randNormalDist;<br>
                      ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘void mlpack::math::RandomSeed(size_t)’:<br>
/usr/local/include/mlpack/core/math/random.hpp:44:3: error: ‘randGen’ was not declared in this scope<br>
   randGen.seed((uint32_t) seed);<br>
   ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random()’:<br>
/usr/local/include/mlpack/core/math/random.hpp:59:26: error: ‘randGen’ was not declared in this scope<br>
   return randUniformDist(randGen);<br>
                          ^<br>
/usr/local/include/mlpack/core/math/random.hpp:59:33: error: ‘randUniformDist’ was not declared in this scope<br>
   return randUniformDist(randGen);<br>
                                 ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random(double, double)’:<br>
/usr/local/include/mlpack/core/math/random.hpp:67:43: error: ‘randGen’ was not declared in this scope<br>
   return lo + (hi - lo) * randUniformDist(randGen);<br>
                                           ^<br>
/usr/local/include/mlpack/core/math/random.hpp:67:50: error: ‘randUniformDist’ was not declared in this scope<br>
   return lo + (hi - lo) * randUniformDist(randGen);<br>
                                                  ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int)’:<br>
/usr/local/include/mlpack/core/math/random.hpp:75:66: error: ‘randGen’ was not declared in this scope<br>
   return (int) std::floor((double) hiExclusive * randUniformDist(randGen));<br>
                                                                  ^<br>
/usr/local/include/mlpack/core/math/random.hpp:75:73: error: ‘randUniformDist’ was not declared in this scope<br>
   return (int) std::floor((double) hiExclusive * randUniformDist(randGen));<br>
                                                                         ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int, int)’:<br>
/usr/local/include/mlpack/core/math/random.hpp:84:50: error: ‘randGen’ was not declared in this scope<br>
                                * randUniformDist(randGen));<br>
                                                  ^<br>
/usr/local/include/mlpack/core/math/random.hpp:84:57: error: ‘randUniformDist’ was not declared in this scope<br>
                                * randUniformDist(randGen));<br>
                                                         ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal()’:<br>
/usr/local/include/mlpack/core/math/random.hpp:92:25: error: ‘randGen’ was not declared in this scope<br>
   return randNormalDist(randGen);<br>
                         ^<br>
/usr/local/include/mlpack/core/math/random.hpp:92:32: error: ‘randNormalDist’ was not declared in this scope<br>
   return randNormalDist(randGen);<br>
                                ^<br>
/usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal(double, double)’:<br>
/usr/local/include/mlpack/core/math/random.hpp:104:36: error: ‘randGen’ was not declared in this scope<br>
   return variance * randNormalDist(randGen) + mean;<br>
                                    ^<br>
/usr/local/include/mlpack/core/math/random.hpp:104:43: error: ‘randNormalDist’ was not declared in this scope<br>
   return variance * randNormalDist(randGen) + mean;<br>
                                           ^<br>
In file included from /usr/local/include/mlpack/core.hpp:223:0,<br>
                 from a.cpp:2:<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp: At global scope:<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:41:16: error: ‘constexpr’ does not name a type<br>
   static const constexpr double log2pi = 1.83787706640934533908193770912475883;<br>
                ^<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:41:16: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:145:28: error: expected ‘,’ or ‘...’ before ‘&amp;&amp;’ token<br>
   void Covariance(arma::mat&amp;&amp; covariance);<br>
                            ^<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp: In member function ‘void mlpack::distribution::GaussianDistribution::LogProbability(const mat&amp;, arma::vec&amp;) const’:<br>
/usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:196:33: error: ‘log2pi’ was not declared in this scope<br>
   logProbabilities = -0.5 * k * log2pi - 0.5 * logDetCov + logExponents;</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, <a href="https://github.com/mlpack/mlpack/issues/781">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFMRTY3DugirHqbhPYOqn77uOvt6qks5qnJFngaJpZM4J1VW0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEOTQfHNH4LKywbdArtI_YGHglczks5qnJFngaJpZM4J1VW0.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/781"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mlpack/mlpack","title":"mlpack/mlpack","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mlpack/mlpack"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"unable to compile a sample program-// Includes all relevant components of mlpack. #include \u003cmlpack/core.hpp\u003e // Convenience. using namespace mlpack; int main() {   // First, load the data.   arma::mat data;   // Use data::Load() which transposes the matrix.   data::Load(\"data.csv\", data, true);   // Now compute the covariance.  We assume that the data is already centered.   // Remember, because the matrix is column-major, the covariance operation is   // transposed.   arma::mat cov = data * trans(data) / data.n_cols;   // Save the output.   data::Save(\"cov.csv\", cov, true); } (#781)"}],"action":{"name":"View Issue","url":"https://github.com/mlpack/mlpack/issues/781"}}}</script>