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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Feb 19 18:39:16 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):

 Replying to [comment:6 rcurtin]:
 > What happens if you specify '-D BOOST_INCLUDEDIR=/opt/local/include/'
 (or wherever the Boost headers are located) to the CMake command line?
 Does it include the file correctly then?

 In this case, cmake still works fine. After I typed "make", I got the
 following error


 Scanning dependencies of target mlpack
 [  1%] Building CXX object
 src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o
 In file included from
 /Users/Huan/downloads/mlpack-1.0-2.8/src/mlpack/core/dists/discrete_distribution.cpp:22:
 In file included from
 /Users/Huan/downloads/mlpack-1.0-2.8/src/mlpack/core/dists/discrete_distribution.hpp:26:
 In file included from
 /Users/Huan/downloads/mlpack-1.0-2.8/src/mlpack/../mlpack/core.hpp:185:
 /Users/Huan/downloads/mlpack-1.0-2.8/src/mlpack/../mlpack/core/arma_extend/arma_extend.hpp:19:10:
 fatal error:
       'armadillo' file not found
 #include <armadillo>
          ^
 1 error generated.
 make[2]: ***
 [src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o]
 Error 1
 make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2
 make: *** [all] Error 2

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