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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Fri Aug 29 10:48:55 EDT 2014


#366: Compilation error with 1.0.9 and VS-2012
-------------------------+--------------------------------------------------
  Reporter:  SinisterMJ  |        Owner:        
      Type:  defect      |       Status:  closed
  Priority:  minor       |    Milestone:        
 Component:  mlpack      |   Resolution:  fixed 
  Keywords:              |     Blocking:        
Blocked By:              |  
-------------------------+--------------------------------------------------
Changes (by rcurtin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Hi there,

 It took me some time to get the build server's Visual Studio setup working
 again, but when I did, I managed to reproduce the issue.  I fixed it in
 r17129 and r17131, and I will be releasing mlpack 1.0.10, which contains a
 couple of bugfixes, later today, so you can download and use that and
 shouldn't have any problems.

 The issue was that log2() may not exist in Visual Studio since Microsoft
 *still* hasn't bothered to implement C99, and log2() is a C99 function.
 So, the solution I chose was to use std::log() then the change-of-base
 formula to convert std::log() to log2().

 Thanks for your patience, and sorry this took so long.

 Thanks,

 Ryan

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/366#comment:1>
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