[mlpack-svn] [MLPACK] #206: Building mlpack with VS2010?
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Fri Mar 16 10:17:22 EDT 2012
#206: Building mlpack with VS2010?
----------------------------------+-----------------------------------------
Reporter: Adam | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: mlpack | Resolution:
Keywords: VS2010, Compilation | Blocking:
Blocked By: |
----------------------------------+-----------------------------------------
Comment (by Adam):
Ran into another problem.
In my application I am already using the Wild Magic Library
(www.geometrictools.com). In order to use you have to use
_USE_MATH_DEFINES and in Wm5CoreLIB.h is redefines lots of types like
__int8 etc in order to give it support for standard integer types above
and beyond stdint.h . Then in your core.hpp it #include <stdint.h>,
resulting in the following,
error C2371: 'int8_t' : redefinition; different basic types
f:\data\sdks\geometrictools\wildmagic5\sdk\include\Wm5CoreLIB.h(59) : see
declaration of 'int8_t'
and lots of warming along similar lines,
C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\stdint.h(72): warning C4005: 'INT8_MIN' : macro
redefinition
f:\data\sdks\geometrictools\wildmagic5\sdk\include\Wm5CoreLIB.h(68) : see
previous definition of 'INT8_MIN'
Not sure how I square this circle.
--
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/206#comment:18>
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