[mlpack-svn] [MLPACK] #307: Linking problem with boost during build
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Wed Mar 12 11:36:23 EDT 2014
#307: Linking problem with boost during build
---------------------------+------------------------------------------------
Reporter: Madda | Owner: rcurtin
Type: defect | Status: closed
Priority: major | Milestone:
Component: build system | Resolution: fixed
Keywords: | Blocking:
Blocked By: |
---------------------------+------------------------------------------------
Changes (by rcurtin):
* status: accepted => closed
* resolution: => fixed
Comment:
Hello Madda,
I'm sorry for the very slow response to this ticket.
I think that when you specified 'ccmake -D BOOST_ROOT=/ust/local/boost',
that was incorrect, and you should have specified BOOST_ROOT=/usr/local/
because the libraries are in /usr/local/lib/ and the headers in
/usr/local/include/, not /usr/local/boost/lib/ and
/usr/local/boost/include/.
Even so, I am not sure what happened in your situation. I think that
maybe on your system, you had only partially uninstalled the Boost
libraries, causing the FindBoost script to find Boost headers in
/usr/include/ and assume the libraries were in /usr/lib/.
If specifying BOOST_ROOT=/usr/local/ does not work, you can try adding
additional options that are documented in the FindBoost.cmake script:
* BOOST_INCLUDEDIR
* BOOST_LIBRARYDIR
* Boost_USE_MULTITHREADED=OFF (this will cause the -mt version to not be
used)
If none of these work, feel free to reopen the ticket, but I am fairly
sure that one of these things should resolve the issue.
Thanks for the patience, and sorry for the slow response.
Ryan
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/307#comment:6>
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