[mlpack-svn] [MLPACK] #224: Build Error with Latest SVN Version (32-bit VS2010 Win 7 machine)

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Sun Apr 15 01:15:18 EDT 2012


#224: Build Error with Latest SVN Version (32-bit VS2010 Win 7 machine)
---------------------------+------------------------------------------------
  Reporter:  Adam          |        Owner:  rcurtin
      Type:  defect        |       Status:  new    
  Priority:  major         |    Milestone:         
 Component:  build system  |   Resolution:         
  Keywords:                |     Blocking:         
Blocked By:                |  
---------------------------+------------------------------------------------

Comment (by rcurtin):

 I won't be able to look into this until Monday (~36 hours) because I don't
 have my Windows system handy, so it may be a bit before I have a fix.  I
 think Visual Studio doesn't have a C99 conformant compiler (only C89) so
 uint64_t ends up not typedef'ed.  My first guess at a fix would be to
 typedef uint64_t myself, maybe before including <mlpack/core.hpp> or in
 core.hpp (whatever is convenient).

 {{{
 typedef unsigned long long uint64_t;
 }}}

 I think the actual fix I commit will have to have some checks that sort of
 look like that and then define uint64_t if it isn't defined.  I'd like to
 test if this works okay on a 64-bit box (I'm pretty sure it does?  Not
 certain) too, but like I said it'll be a while until I can.  Hopefully
 this fix can help you get by for now.

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