verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
govg has joined #mlpack
govg_ has joined #mlpack
keonkim has joined #mlpack
govg_ has quit [Ping timeout: 260 seconds]
govg has joined #mlpack
marcosirc has joined #mlpack
topology has joined #mlpack
topology has quit [Ping timeout: 260 seconds]
sumedhghaisas has joined #mlpack
tejank10 has joined #mlpack
topology has joined #mlpack
mentekid has joined #mlpack
tejank10 has quit [Quit: Page closed]
tejank10 has joined #mlpack
topology has quit [Quit: Page closed]
Hieronymous has joined #mlpack
< Hieronymous>
Hey, How do I "git clone" mlpack ?
< Hieronymous>
I want to contribute (via PRs of course).
< rcurtin>
if you did, did you just try to run the program?
< rcurtin>
it's a regular C++ program...
< Hieronymous>
I don't know how to link ? I'm sorry, my C++ knowledge is limited extremely limited.
< rcurtin>
ok, sorry about that
< rcurtin>
you'll link with -l<name of library>
< rcurtin>
so -lmlpack
< rcurtin>
and you may also need to link with some boost libraries like program options... -lboost_program_options
< rcurtin>
once that's done you just run it from the command line, like if the program is named 'fi' you'd do './fi'
< Hieronymous>
g++ -o -lmlpack ./fi sample.cpp -std=c++11 gives ./fi No such file or directory
< Hieronymous>
I linked it in this fashion - g++ -o -lmlpack sample.cpp -o mlpack.so
< Hieronymous>
It still throws a lot of errors.
< rcurtin>
the -o option specifies the name of the output program
< rcurtin>
so put the -lmlpack somewhere else, like at the end of the command
< rcurtin>
I think you are telling g++ to name your program "-lmlpack" :)
< Hieronymous>
lol :)
< rcurtin>
I have to go for now, you might be better off finding a tutorial someone has written on compiling c++ programs from the command line or something like this to get some knowledge of how to do all this
< Hieronymous>
Okay. Cool.
< rcurtin>
probably it is easier to learn from them than from quick responses by me