[mlpack-svn] [MLPACK] #332: include<boost/math/special_functions/gamma.hpp> in core.hpp

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Thu Feb 20 10:51:42 EST 2014


#332: include<boost/math/special_functions/gamma.hpp> in core.hpp
----------------------+-----------------------------------------------------
  Reporter:  HuanEva  |        Owner:  rcurtin 
      Type:  defect   |       Status:  accepted
  Priority:  major    |    Milestone:          
 Component:  mlpack   |   Resolution:          
  Keywords:           |     Blocking:          
Blocked By:           |  
----------------------+-----------------------------------------------------

Comment (by rcurtin):

 I think the problem you are having is related to this:

 http://stackoverflow.com/questions/20483429/cmake-on-macosx-maverick-how-
 to-force-usr-include-to-be-included

 Basically it seems like your compiler is not automatically including
 /usr/include/ as an include directory, and CMake doesn't do that because
 every sane compiler already does it implicitly.

 Can you find the config.h for clang and post it?

 Also, you could try moving your Armadillo headers to /opt/local/include/,
 and I think that would work.  The problem appears to be specifically
 related to the fact that XCode on OS X Mavericks does not configure clang
 to search /usr/include/ by default, but CMake assumes that it does and
 does not add -I/usr/include/ as a result.

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