[mlpack-svn] [MLPACK] #265: mlpack does not build with latest version of armadillo
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Fri Jan 18 03:37:15 EST 2013
#265: mlpack does not build with latest version of armadillo
------------------------------+---------------------------------------------
Reporter: hanslovsky | Owner: rcurtin
Type: defect | Status: new
Priority: minor | Milestone:
Component: armadillo sparse | Keywords: armadillo version
Blocking: | Blocked By:
------------------------------+---------------------------------------------
I am trying to build mlpack with armadillo 3.6.1 and it fails. I used an
older version of armadillo (3.2.5) and it works fine. The workaround is
good for me. A hint on the mlpack website would be helpful.
Error log:
( http://pastebin.com/FxeqaeEG for better readability )
In file included from /home/phanslov/local/include/armadillo:116:0,
from
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/../mlpack/core/arma_extend/arma_extend.hpp:15,
from
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/../mlpack/core.hpp:166,
from
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/methods/hmm/hmm_train_main.cpp:22:
/home/phanslov/local/include/armadillo_bits/constants.hpp: In
instantiation of ‘const long unsigned int arma::Datum<long unsigned
int>::inf’:
/home/phanslov/local/include/armadillo_bits/diskio_meat.hpp:681:7:
instantiated from ‘static bool arma::diskio::convert_naninf(eT&, const
string&) [with eT = long unsigned int, std::string =
std::basic_string<char>]’
/home/phanslov/local/include/armadillo_bits/diskio_meat.hpp:1367:77:
instantiated from ‘static bool
arma::diskio::load_raw_ascii(arma::Mat<eT>&, std::istream&, std::string&)
[with eT = long unsigned int, std::istream = std::basic_istream<char>,
std::string = std::basic_string<char>]’
/home/phanslov/local/include/armadillo_bits/Mat_meat.hpp:5402:7:
instantiated from ‘bool arma::Mat<eT>::load(std::istream&,
arma::file_type, bool) [with eT = long unsigned int, std::istream =
std::basic_istream<char>]’
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/../mlpack/core/data/load_impl.hpp:176:46:
instantiated from ‘bool mlpack::data::Load(const string&, arma::Mat<eT>&,
bool, bool) [with eT = long unsigned int, std::string =
std::basic_string<char>]’
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/methods/hmm/hmm_train_main.cpp:170:40:
instantiated from here
/home/phanslov/local/include/armadillo_bits/constants.hpp:181:32: error:
no matching function for call to ‘arma::priv::Datum_helper::inf()’
/home/phanslov/local/include/armadillo_bits/constants.hpp:181:32: note:
candidates are:
/home/phanslov/local/include/armadillo_bits/constants.hpp:69:5: note:
template<class eT> static typename arma::arma_float_only::result
arma::priv::Datum_helper::inf(typename arma::arma_float_only<eT>::result*)
/home/phanslov/local/include/armadillo_bits/constants.hpp:87:5: note:
template<class eT> static typename arma::arma_cx_only::result
arma::priv::Datum_helper::inf(typename arma::arma_cx_only<eT>::result*)
/home/phanslov/local/include/armadillo_bits/constants.hpp:100:5: note:
template<class eT> static typename arma::arma_integral_only::result
arma::priv::Datum_helper::inf(typename
arma::arma_integral_only<eT>::result*)
/home/phanslov/local/include/armadillo_bits/constants.hpp: In
instantiation of ‘const long unsigned int arma::Datum<long unsigned
int>::nan’:
/home/phanslov/local/include/armadillo_bits/diskio_meat.hpp:688:7:
instantiated from ‘static bool arma::diskio::convert_naninf(eT&, const
string&) [with eT = long unsigned int, std::string =
std::basic_string<char>]’
/home/phanslov/local/include/armadillo_bits/diskio_meat.hpp:1367:77:
instantiated from ‘static bool
arma::diskio::load_raw_ascii(arma::Mat<eT>&, std::istream&, std::string&)
[with eT = long unsigned int, std::istream = std::basic_istream<char>,
std::string = std::basic_string<char>]’
/home/phanslov/local/include/armadillo_bits/Mat_meat.hpp:5402:7:
instantiated from ‘bool arma::Mat<eT>::load(std::istream&,
arma::file_type, bool) [with eT = long unsigned int, std::istream =
std::basic_istream<char>]’
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/../mlpack/core/data/load_impl.hpp:176:46:
instantiated from ‘bool mlpack::data::Load(const string&, arma::Mat<eT>&,
bool, bool) [with eT = long unsigned int, std::string =
std::basic_string<char>]’
/home/phanslov/local/src/mlpack-1.0.3/src/mlpack/methods/hmm/hmm_train_main.cpp:170:40:
instantiated from here
/home/phanslov/local/include/armadillo_bits/constants.hpp:180:32: error:
no matching function for call to ‘arma::priv::Datum_helper::nan()’
/home/phanslov/local/include/armadillo_bits/constants.hpp:180:32: note:
candidates are:
/home/phanslov/local/include/armadillo_bits/constants.hpp:27:5: note:
template<class eT> static typename arma::arma_float_only::result
arma::priv::Datum_helper::nan(typename arma::arma_float_only<eT>::result*)
/home/phanslov/local/include/armadillo_bits/constants.hpp:45:5: note:
template<class eT> static typename arma::arma_cx_only::result
arma::priv::Datum_helper::nan(typename arma::arma_cx_only<eT>::result*)
/home/phanslov/local/include/armadillo_bits/constants.hpp:58:5: note:
template<class eT> static typename arma::arma_integral_only::result
arma::priv::Datum_helper::nan(typename
arma::arma_integral_only<eT>::result*)
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/265>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list