[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 20:38:40 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 HuanEva):

 It turns out that Xcode include directory is:
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/usr/include/

 Here is a reference on this: [http://stackoverflow.com/questions/20483429
 /cmake-on-macosx-maverick-how-to-force-usr-include-to-be-included]

 I copied the files

 armadillo    armadillo_bits    boost

 from "/usr/include" to the above directory and it works now.

 Thank you very much, rcurtin.




 Replying to [comment:16 rcurtin]:
 > You could try adding "-I/usr/include/" to CMAKE_CXX_FLAGS when you
 configure the project.  Does that help?
 >
 > I don't use XCode, in part because it's not free software, so I can't
 provide help for how it can be configured.
 >
 > I actually think clang's config.h is something that is used at compile-
 time when clang is compiled, not when clang is being used to compile
 something else.  So modifying that file may not be feasible.

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