[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 13:29:44 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):
I have armadillo and armadillo_bits in "/usr/include", I copied both of
them to /opt/local/include, but I still got the same error.
Where could I possible get config.h for clang? I tried some directory, but
did not find it.
Is there a way that I can configure XCode such that clang will search
/usr/include by default.
Replying to [comment:14 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:15>
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