[mlpack-svn] [MLPACK] #354: I cannot build mlpack
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Wed Jun 25 20:25:19 EDT 2014
#354: I cannot build mlpack
---------------------+------------------------------------------------------
Reporter: Shi | Owner: birm
Type: defect | Status: closed
Priority: major | Milestone:
Component: mlpack | Resolution: fixed
Keywords: | Blocking:
Blocked By: |
---------------------+------------------------------------------------------
Changes (by rcurtin):
* status: reopened => closed
* resolution: => fixed
Comment:
I think the issue here is that you have things installed in multiple
places. As far as I can tell, you have a version of GCC that you are
using that is located in /usr/local/bin/. To the best of my knowledge,
having a compiler in this location will by default search
/usr/local/include/ for headers before searching /usr/include/. The
version of Boost we are trying to link against is located in
/usr/include/; but, the version the compiler is including first is in
/usr/local/include/.
So, the way I see it, there are two choices:
* Remove the version of Boost in /usr/include/, or the version in
/usr/local/include/, so that only one version exists on the system.
* Use the version of Boost in /usr/local/include/ by specifying
BOOST_ROOT=/usr/local/ not BOOST_ROOT=/usr/.
I think this may actually be a CMake bug:
http://public.kitware.com/Bug/view.php?id=13381 ,
http://stackoverflow.com/questions/20483429/cmake-on-macosx-maverick-how-
to-force-usr-include-to-be-included
but either way, one of the two solutions I suggested above should work.
Please reopen the ticket if this doesn't solve your issue and we can try
again... :)
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/354#comment:8>
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