[mlpack-svn] [MLPACK] #366: Compilation error with 1.0.9 and VS-2012

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Thu Aug 21 08:21:32 EDT 2014


#366: Compilation error with 1.0.9 and VS-2012
------------------------+---------------------------------------------------
 Reporter:  SinisterMJ  |        Owner:     
     Type:  defect      |       Status:  new
 Priority:  minor       |    Milestone:     
Component:  mlpack      |     Keywords:     
 Blocking:              |   Blocked By:     
------------------------+---------------------------------------------------
 I have tried to compile 1.0.9 (already had 1.0.8 working), and I get
 following error(s):

 Error   10      error C2784: 'const arma::eOpCube<T1,arma::eop_log2>
 arma::log2(const arma::BaseCube<T1::elem_type,T1> &)' : could not deduce
 template argument for 'const arma::BaseCube<T1::elem_type,T1> &' from
 'const double'
 g:\glukosescanner\mlpack-1.0.9\src\mlpack\methods\decision_stump\decision_stump_impl.hpp
 435

 Error   21      error C2784: 'const arma::eOpCube<T1,arma::eop_log2>
 arma::log2(const arma::BaseCube<T1::elem_type,T1> &)' : could not deduce
 template argument for 'const arma::BaseCube<T1::elem_type,T1> &' from
 'const double'
 g:\glukosescanner\mlpack-1.0.9\src\mlpack\methods\decision_stump\decision_stump_impl.hpp
 435

 Error   11      error C2893: Failed to specialize function template
 'enable_if2<arma::is_arma_type<T1>::value,const
 arma::eOp<T1,arma::eop_log2>>::result arma::log2(const T1 &)'
 g:\glukosescanner\mlpack-1.0.9\src\mlpack\methods\decision_stump\decision_stump_impl.hpp
 435

 Error   22      error C2893: Failed to specialize function template
 'enable_if2<arma::is_arma_type<T1>::value,const
 arma::eOp<T1,arma::eop_log2>>::result arma::log2(const T1 &)'
 g:\glukosescanner\mlpack-1.0.9\src\mlpack\methods\decision_stump\decision_stump_impl.hpp
 435

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/366>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list