ChanServ changed the topic of #mlpack to: "mlpack: a fast, flexible machine learning library :: We don't always respond instantly, but we will respond; please be patient :: Logs at http://www.mlpack.org/irc/
< hemal[m]>
I was able to compile the code using the following command: g++ -std=c++11 load_save.cpp -fopenmp -lmlpack -larmadillo -lboost_serialization -lboost_program_options
< hemal[m]>
1. Is this normal, that I had to run the code with '-lmlpack -larmadillo' etc ? Or could this be avoided?
< hemal[m]>
2. (Suggestion) If this is a standard procedure, or required to be done regularly, I feel that the mlpack/..../sample.html should include a command to run that code ? (For beginners?) Or include the ways in which the given sample code could be run ?
xiaohong_ has joined #mlpack
< rcurtin>
henal[m]: yeah, that's normal---what you have to link against depends on your system (and Armadillo configuration) but usually what you wrote sounds correct
< rcurtin>
there's also pkgconfig support distributed with mlpack that can make linking a little easier
< rcurtin>
I agree with your suggestion, it could be really nice to add that linking documentation. if you want to open a PR feel free :)
xiaohong_ has quit [Remote host closed the connection]
xiaohong_ has joined #mlpack
xiaohong_ has quit [Remote host closed the connection]
xiaohong_ has joined #mlpack
xiaohong_ has quit [Ping timeout: 260 seconds]
Nikhit has joined #mlpack
Nikhit has quit [Remote host closed the connection]