On Mon, Feb 25, 2019 at 11:28:04AM +0800, problemset wrote: > g++ -I/Users/xxx/clone/boost/dev-mlpack/mlpack/build/lib > -L/Users/xxx/clone/boost/dev-mlpack/mlpack/build/include > test_mlpack.cpp -std=c++11 -o test_mlpack > > test_mlpack.cpp:3:10: fatal error: 'mlpack/core.hpp' file not found > > #include <mlpack/core.hpp> > > ^~~~~~~~~~~~~~~~~ > > 1 error generated. > > Did I miss something? Any comments would be highly appreciated.
Hey there Xiaohong, The include/ directory should be specified with -I not -L. That should fix it. :) Thanks! Ryan -- Ryan Curtin | "Gentlemen, you can't fight in here! This is the [email protected] | War Room!" - President Muffley _______________________________________________ mlpack mailing list [email protected] http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
